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
The handling of application/merge-patch+json is quite manual, in part because of limitation in the ORM, and probably doesn't implement correctly all the cases, but we can improve it.
Instead of doing what we do now, we should:
Get the application/merge-patch+json payload and validate it
Apply the merge patch to the current JSON representation of the patched resource (and its relationships), (fe. with https://github.com/evanphx/json-patch)
Unserialize the result
Have the ORM do the required operation to the database based on the unserialized result
The text was updated successfully, but these errors were encountered:
The handling of
application/merge-patch+json
is quite manual, in part because of limitation in the ORM, and probably doesn't implement correctly all the cases, but we can improve it.Instead of doing what we do now, we should:
application/merge-patch+json
payload and validate itThe text was updated successfully, but these errors were encountered: