Skip to content

[Serializer] Support canners in object normalizer #45282

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

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

rmikalkenas
Copy link
Contributor

Q A
Branch? 6.1
Bug fix? no
New feature? yes
Deprecations? no
Tickets -
License MIT
Doc PR -

Noticed that serializer is not capable of normalizing properties with methods that start with can prefix, even though property info component has support for it. I think it's inconsistent and serializer should support it as well.
Targeting 6.1 branch as this sounds like a new feature (correct me if wrong). Also not sure about BC as this change might break others code (until this change, properties with can methods were silently skipped from normalization)

@carsonbot
Copy link

Hey!

I think @mtarld has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@rmikalkenas rmikalkenas force-pushed the serializer-canners branch 3 times, most recently from cfdafae to b88d43c Compare March 2, 2022 07:36
@rmikalkenas rmikalkenas force-pushed the serializer-canners branch 2 times, most recently from 61d2e0b to 02d6105 Compare March 14, 2022 13:24
@rmikalkenas
Copy link
Contributor Author

It's been hanging for a while, is there any issues with this PR?

Copy link
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for 6.1

@fabpot
Copy link
Member

fabpot commented Apr 27, 2022

Thank you @rmikalkenas.

@fabpot fabpot mentioned this pull request Apr 27, 2022
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.

8 participants