You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
You are not using the $params values that you pass into the method. You get the params form the event. Is this correct?
This limits my possibilities. I have my own ProductResource that extends DoctrineResource.
When I delete a product, I'm not really removing it, I just switch the flag 'deleted' in the database to 'true'.
From now, all fetchAll request have to exclude that product. So I thought of doing something like this:
You are not using the $params values that you pass into the method. You get the params form the event. Is this correct?
This limits my possibilities. I have my own ProductResource that extends DoctrineResource.
When I delete a product, I'm not really removing it, I just switch the flag 'deleted' in the database to 'true'.
From now, all fetchAll request have to exclude that product. So I thought of doing something like this:
another example: user 1 is logged in and can only see his own orders. So, you must be able to add an extra 'user' parameters in your api...
I can always pass these params from the client... But seems so mutch overkill.
The text was updated successfully, but these errors were encountered: