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 result contains both _id and id, but I only want _id.
[
'_id' => 'foo',
'id' => 'foo',
]
If I add the #[Symfony\Component\Serializer\Attribute\Ignore] attribute, the id property is excluded, but that also excludes from the API Platform serializer.
When a #[MapTo] attribute is set, should the default name be skipped?