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

Allow aggregators on properties annotated with @PersistedName #1569

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

clementetb
Copy link
Contributor

Closes #1555

Aggregators on properties annotated with @PersistedName triggered an NPE. The cause was that we used the public names to retrieve the schema metadata when they were only accessible via the persisted one.

This PR fixes the issue by retrieving the object schema via the classkey, and then allowing retrieving properties via both persisted and public names.

Copy link
Contributor

@cmelchior cmelchior left a comment

Choose a reason for hiding this comment

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

Nice 👍

@clementetb clementetb merged commit be6f709 into releases Nov 14, 2023
1 of 2 checks passed
@clementetb clementetb deleted the ct/fix-aggregations-with-persistedname branch November 14, 2023 08:58
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants