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

Case-sensitive enum type casts #2271

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

niklaskorz
Copy link
Contributor

PR Info

Bug Fixes

  • Filtering on enum fields whose type name was declared case sensitive no longer crashes

Breaking Changes

  • Enum names are now case sensitive, i.e. #[sea_orm(enum_name = "MyType")] will result in "MyType" instead of mytype for PostgreSQL.

@niklaskorz
Copy link
Contributor Author

niklaskorz commented Jun 25, 2024

Tests are only failing because they depend on SeaQL/sea-query#789

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.

postgres: CAST($2 AS CaseSensitiveEnumType) enum type must be enquoted
1 participant