Skip to content

Improves support for enum constants within queries #412

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 9 commits into from
Dec 23, 2024

Conversation

alex-kulakov
Copy link
Contributor

  • EnumRewriter couldn't correctly rewrite null values of nullable enums, throwing exception. The algorithm of constants rewriting has changed.
  • Also added test for EnumRewriter which is able to check problem cases.
    Value accessor assignment now uses underlying type of enum to assign accessor, instead of object value accessor

@alex-kulakov alex-kulakov merged commit d055153 into 7.1 Dec 23, 2024
@alex-kulakov alex-kulakov deleted the 7.1-enum-conversion-issue branch December 23, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant