Add a bulleted list, <Ctrl+Shift+8>Add a numbered list, <Ctrl+Shift+7>Add a task list, <Ctrl+Shift+l>
Directly mention a user or teamReference an issue or pull request
Add heading textAdd bold text, <Ctrl+b>Add italic text, <Ctrl+i>Add a bulleted list, <Ctrl+Shift+8>Add a numbered list, <Ctrl+Shift+7>Add a task list, <Ctrl+Shift+l>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
You can’t perform that action at this time.
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.
{{editor}}'s edit
{{editor}}'s edit
-
So there's a way to serialize array of objects: https://symfony.com/doc/current/components/serializer.html#handling-arrays
But is there way to do it for a nested field?
So this works:
But is it possible if I have array of people in a property, e.g.
And I want to use it like that:
Is there a way to do tell Symfony that I want array of
Person
objects inside thepeople
property?Beta Was this translation helpful? Give feedback.