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
How to include Second entity as relationship with First entity? What i'm doin wrong? Connected with How to avoid serializing compound objects? #20 i think but there is no solution provided for me.
Hello.
How to use it with Doctrine relations (both types: Associations and Embedded)? I have several problems with this feature.
src/FirstBundle/Entity/First.php
src/FirstBundle/Entity/Embeddable/Contact.php
src/SecondBundle/Entity/Second.php
src/FirstBundle/Resources/config/mapping/first.yml
src/FirstBundle/Resources/config/mapping/contact.yml
src/SecondBundle/Resources/config/mapping/second.yml
After using this project like this
src/FirstBundle/Controller/First.php
I get very strange response:
Questions:
contact_city
field in first table. No PK exists.Closures are not supported in Serializer
– how to fix this?hide_properties
is ignored for Second entity? Password must be excluded.Thank you for your help.
The text was updated successfully, but these errors were encountered: