Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum support #113

Closed
norkunas opened this issue Mar 10, 2022 · 0 comments · Fixed by #114
Closed

Enum support #113

norkunas opened this issue Mar 10, 2022 · 0 comments · Fixed by #114

Comments

@norkunas
Copy link
Contributor

norkunas commented Mar 10, 2022

Currently when using enums this lib serializer stores enum as "field": {"name": "NAME", "#type": "App\\Enum\\MyEnum", "value": "name"} and therefore fails to denormalize later for reading.
The problem was simpler - the denormalization part was only failing and therefore normalization is okay as is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant