Answer the question
In order to leave comments, you need to log in
How to merge two entities into one?
There are two entities, one in the database, the other comes from the client. How to combine these two entities into one so that the entity that came from the client updates the entity received from the database, but only with those properties that are not NULL for the client (coming) entity?
Answer the question
In order to leave comments, you need to log in
Found a solution through the Serializer component. It was updated in 2.7, where they added the option that is needed. Thanks to all!
the other comes from the client
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question