Skip to content

Case-sensitive enum type casts#2271

Open
niklaskorz wants to merge 1 commit intoSeaQL:masterfrom
niklaskorz:sea-query-725
Open

Case-sensitive enum type casts#2271
niklaskorz wants to merge 1 commit intoSeaQL:masterfrom
niklaskorz:sea-query-725

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