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
I'd like to make a write operation (PATCH) with an uri like /object/current.
I thought that making a Provider to load the "current" object (load it in db from info in the token) would load the db object and then the process would apply the sent data into that db obejct, but nothing seems to be working.
I tried making a processor too, but the $data passed is just the data sent in the request body, the db object is never loaded.
How can I make that kind of call ? Should I make everything manually in a processor ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to make a write operation (PATCH) with an uri like
/object/current.I thought that making a
Providerto load the "current" object (load it in db from info in the token) would load the db object and then the process would apply the sent data into that db obejct, but nothing seems to be working.I tried making a processor too, but the
$datapassed is just the data sent in the request body, the db object is never loaded.How can I make that kind of call ? Should I make everything manually in a processor ?
Beta Was this translation helpful? Give feedback.
All reactions