Repository navigation
Conversation
22cd016 to
7691bb3
Compare
7691bb3 to
ab4d666
Compare
087353e to
e97a083
Compare
64b452a to
d5ca19b
Compare
d5ca19b to
7782f64
Compare
|
Hi @Codencode! |
|
Hi @boherm, In this comment (PrestaShop/PrestaShop#39966 (comment)) I asked for feedback, but I didn’t receive any response. Later, after the release of version 9.1.1, rebasing became necessary. I can do that, but before proceeding I’d prefer to understand whether this PR is actually needed or whether there is an alternative way to make it work. |
|
Hum, after checking your PR, I think that you can reopened it for 9.1.x 🤔 (As we have a lot of notifications, we can't see all PRs 😭) |
So how should we proceed?
Don't worry, I imagine it's not a concern for you! |
Complete the attachment Admin API resource with the two operations that were missing alongside the CRUD endpoints: a paginated list sourced from the attachment grid, and a bulk-delete endpoint. These port the AttachmentList and BulkAttachments resources from PrestaShop#105, adapted to the current conventions (strict types, camelCase fileSize with ApiResourceMapping, CQRSDelete bulk operation, Count(min:1) validation). The integration test is extended to cover the list (field and filter mapping) and bulk-delete (including the empty-payload validation error). Co-authored-by: Codencode <2463965+Codencode@users.noreply.github.com>
|
Close in favour of: #295 |
Complete the attachment Admin API resource with the two operations that were missing alongside the CRUD endpoints: a paginated list sourced from the attachment grid, and a bulk-delete endpoint. These port the AttachmentList and BulkAttachments resources from PrestaShop#105, adapted to the current conventions (strict types, camelCase fileSize with ApiResourceMapping, CQRSDelete bulk operation, Count(min:1) validation). The integration test is extended to cover the list (field and filter mapping) and bulk-delete (including the empty-payload validation error). Co-authored-by: Codencode <2463965+Codencode@users.noreply.github.com>
IMPORTANT NOTE
This PR is affected by the same issue as ps_apiresources#82
This PR needs these PRs to work:
The integration tests failures are due to the absence of PR PrestaShop/PrestaShop#39966.