Skip to content

Conversation

@mattyn
Copy link

@mattyn mattyn commented Sep 25, 2025

This is just the most basic change to get enums working at all for regular fields (not primary key fields). Ideally serialization would be pushed into the engine rather than being implemented by drivers. Also, ideally there would be some configuration to control the mapping to table columns and database types; you might want to store the fields of an enum in a separate column, for example, or have a "None" value of the enum map to a null value in the database to facilitate sparse indexes in a database like DynamoDB.

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