How to denormalize into an ArrayCollection #61059
Unanswered
alessandro-podo
asked this question in
Q&A
Replies: 1 comment
-
[
'id' => 1,
'relations' => [
'elements' => [
['id' => 100],
],
],
] Note that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the following configuration, I would expect the RelationCollection to contain elements, but it remains empty.
If I specify array instead of RelationCollection as type in the CI Object, I get an array with Relation as elements.
Can the Serializer use Collection and if so, how does this work? Have I overlooked something in the documentation?
Beta Was this translation helpful? Give feedback.
All reactions