- Notifications
You must be signed in to change notification settings - Fork 179
Closed
Description
Package version, Laravel version:
6.2, 1.5
Expected behaviour:
Using symfony serializer as it's explained in the documentation and it works fine until I try to use groups on my entity properties
Actual behaviour:
As I add groups annotation to properties, get this error
[Semantical Error] The annotation "@Symfony\Component\Serializer\Annotation\Groups" in property App\Entities\User::$id was never imported. Did you maybe forget to add a "use" statement for this annotation?
Did I add the Symfony\Component\Serializer\Annotation\Groups use statement?
Yea sure
I guess there is a problem on registering the annotation cuz there is no provider for the symfony annotations (maybe?) It's been headache for a week now, can someone help me? :(
Metadata
Metadata
Assignees
Labels
No labels