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

FEATURE: Make the JsonArrayType able to handle ValueObjects #2763

Closed
mficzel opened this issue Mar 24, 2022 · 0 comments · Fixed by #2762
Closed

FEATURE: Make the JsonArrayType able to handle ValueObjects #2763

mficzel opened this issue Mar 24, 2022 · 0 comments · Fixed by #2762

Comments

@mficzel
Copy link
Member

mficzel commented Mar 24, 2022

JsonArrayType should be able to de/serialize arbitrary value objects, as long as they implement \JsonSerializable and ::from$Type

@mficzel mficzel changed the title Make the JsonArrayType able to handle ValueObjects FEATURE: Make the JsonArrayType able to handle ValueObjects Mar 24, 2022
bwaidelich added a commit that referenced this issue Mar 25, 2022
…)` and `fromInteger()`

...in addition to their short version (`fromBool()` and `fromInt()`).
This also adds a short documentation about Value Object property mapping.

Related: #2763
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant