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
It took me quite a long time to figure out why the annotations I put into an Entity were accepted but not taken into account: When using this bundle, one MUST use the JMS\SerializerBundle\Annotation namespace, and not the JMS\Serializer\Annotation one.
And with the doc refactoring (that I understand because it seems most was duplicated), you link to the library that uses its namespace in the examples.
The text was updated successfully, but these errors were encountered:
That entirely depends on the version that you are using.
If you are really using the master version, then you need to use the new namespace JMS\Serializer\Annotation. If you are on an older version, then you need to use the old namespace JMS\SerializerBundle\Annotation.
... and not the library namespace.
It took me quite a long time to figure out why the annotations I put into an Entity were accepted but not taken into account: When using this bundle, one MUST use the
JMS\SerializerBundle\Annotation
namespace, and not theJMS\Serializer\Annotation
one.And with the doc refactoring (that I understand because it seems most was duplicated), you link to the library that uses its namespace in the examples.
The text was updated successfully, but these errors were encountered: