Skip to content

[Serializer] Fix get accessor regex in AnnotationLoader #47255

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

Closed
wants to merge 0 commits into from
Closed

[Serializer] Fix get accessor regex in AnnotationLoader #47255

wants to merge 0 commits into from

Conversation

jsor
Copy link
Contributor

@jsor jsor commented Aug 11, 2022

The pipe in the regex makes it match all methods.

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets n/a
License MIT
Doc PR n/a

This fixes a bug introduced in #46958. It was also discovered in the PR but after it got merged. See #46958 (comment).

@jsor jsor requested a review from dunglas as a code owner August 11, 2022 15:10
@carsonbot carsonbot changed the title [Serializer] Fix get accessor regex in AnnotationLoader Fix get accessor regex in AnnotationLoader Aug 11, 2022
@carsonbot carsonbot added this to the 5.4 milestone Aug 11, 2022
@carsonbot carsonbot changed the title Fix get accessor regex in AnnotationLoader [Serializer] Fix get accessor regex in AnnotationLoader Aug 11, 2022
@fabpot
Copy link
Member

fabpot commented Aug 12, 2022

Thank you @jsor.

fabpot added a commit that referenced this pull request Aug 12, 2022
…sor)

This PR was squashed before being merged into the 5.4 branch.

Discussion
----------

[Serializer] Fix get accessor regex in AnnotationLoader

The pipe in the regex makes it match *all* methods.

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | n/a
| License       | MIT
| Doc PR        | n/a

This fixes a bug introduced in #46958. It was also discovered in the PR but after it got merged. See #46958 (comment).

Commits
-------

1132171 [Serializer] Fix get accessor regex in AnnotationLoader
@fabpot fabpot closed this Aug 12, 2022
@jsor jsor deleted the fix-serializer-getter-regex branch August 12, 2022 06:41
This was referenced Aug 26, 2022
@fabpot fabpot mentioned this pull request Sep 30, 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.

5 participants