-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Removed deprecations in Serializer component #14151
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
Conversation
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | - |
License | MIT |
Doc PR | - |
/** | ||
* @group legacy | ||
*/ | ||
public function testLegacyCamelizedAttributesNormalize() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you just remove the test, we loose a test proving that name converters are supported and really used by the normalizer.
IMO this test should be converted to use directly the NameConverter instead of setCamelizedAttributes()
but not totally removed.
Same for the other normalizer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test should have been added when the deprecation was introduced, if the case it not covered anymore without using the deprecated way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Tobion I'll open a PR for that.
I've added tests in #14415. |
👍 |
1 similar comment
👍 |
Thank you @dosten. |
This PR was squashed before being merged into the master branch (closes #14151). Discussion ---------- Removed deprecations in Serializer component | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- e90e9b2 Removed deprecations in Serializer component