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
PATCH request in API Platform (Data Processor), as first step invokes Data Provider in order to get full patchable resource with original content from storage (database).
In APIP architecture, normalization groups are applied after Data Provider/Processor is called.
However, Mapper uses Normalization groups for relations, in order to increase performance (if target relation does not have normalization group from context, relation is ignored).
Upside: performance increases Downside: if relation is not required in READ context (but required for WRITE only, for example) , and READ normalization group is not applied, it will be lost during PATCH operation.
How to fix it?
The text was updated successfully, but these errors were encountered:
PATCH request in API Platform (Data Processor), as first step invokes Data Provider in order to get full patchable resource with original content from storage (database).
In APIP architecture, normalization groups are applied after Data Provider/Processor is called.
However, Mapper uses Normalization groups for relations, in order to increase performance (if target relation does not have normalization group from context, relation is ignored).
Upside: performance increases
Downside: if relation is not required in READ context (but required for WRITE only, for example) , and READ normalization group is not applied, it will be lost during PATCH operation.
How to fix it?
The text was updated successfully, but these errors were encountered: