sea-query icon indicating copy to clipboard operation
sea-query copied to clipboard

Case-sensitive enum type casts

Open niklaskorz opened this issue 7 months ago • 1 comments

PR Info

  • Closes https://github.com/SeaQL/sea-query/issues/725
  • Dependents:
    • https://github.com/SeaQL/sea-orm/pull/2271

Bug Fixes

  • [x] Casting to an enum whose type name was declared case-sensitive does not crash anymore

Breaking Changes

  • [x] Enum type casts are now case sensitive, so casting to SomeEnum will now cast to "SomeEnum" on PostgreSQL, while it previously casted to someenum.

niklaskorz avatar Jun 25 '24 13:06 niklaskorz