Appending an entity to a collection in ManyToMany relationships #2642
PaulCombal
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an NtoN relationship between entities A and B.
I want to add an association of A to B in the database, using API platform. Currently, if I want to do so, I can simply send a PATCH request like so:
Which means I have to first retrieve the full list of IRIs before sending the request, which will contain all the already existing values.
Does API Platform provide or plans to provide an answer to this problem, or is there a well-known solution to this limitation?
I would really enjoy using a syntax similar to the following, even though I suppose it doesn't follow any norm.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions