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
We have an entity UserProduct that stores connection between User and Product (and some extra information).
Customer is using API extensively and would like not having to check for duplicates before poking an API endpoint (to know whether to create or update); ideally he'd like to submit User and Product and let the app figure it out.
I was planning on implementing a custom action controller, but documentation is clear tht in most cases, custom controllers are strongly discouraged.
What would be a good way to implement such feature in line with best practices?
The text was updated successfully, but these errors were encountered:
We have an entity UserProduct that stores connection between User and Product (and some extra information).
Customer is using API extensively and would like not having to check for duplicates before poking an API endpoint (to know whether to create or update); ideally he'd like to submit User and Product and let the app figure it out.
I was planning on implementing a custom action controller, but documentation is clear tht in most cases, custom controllers are strongly discouraged.
What would be a good way to implement such feature in line with best practices?
The text was updated successfully, but these errors were encountered: