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: Support object serialization without var annotation #2844

Conversation

robertlemke
Copy link
Member

This change introduces support for PHP 7.4 style class property
type declarations for objects to be serialized by Flow. Previously,
a @var annotation had to be specified for each class property, in
order to communicate the type to Flow's serialization mechanism.

Resolves #2843

This change introduces support for PHP 7.4 style class property
type declarations for objects to be serialized by Flow. Previously,
a `@var` annotation had to be specified for each class property, in
order to communicate the type to Flow's serialization mechanism.

Resolves neos#2843
@robertlemke robertlemke force-pushed the 2843-feature-support-object-serialization-without-var-annotation branch from 6f3553e to 04b6106 Compare May 18, 2022 11:30
@robertlemke
Copy link
Member Author

Somewhat related to #2835

@robertlemke
Copy link
Member Author

See also #2114

@kdambekalns kdambekalns changed the title Support object serialization without var annotation FEATURE: Support object serialization without var annotation May 18, 2022
@kitsunet
Copy link
Member

Looks good, thanks for the improvements along the way.

@kdambekalns kdambekalns merged commit eb22a48 into neos:8.0 May 18, 2022
@kdambekalns kdambekalns deleted the 2843-feature-support-object-serialization-without-var-annotation branch May 18, 2022 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants