Skip to content

Conversation

@tiangolo
Copy link
Member

✨ Do not allow invalid combinations of field parameters for columns and relationships, sa_column excludes sa_column_args, primary_key, nullable, etc.

Add types and runtime checks to error when sa_column is used with invalid additional arguments: sa_column_args, sa_column_kwargs, primary_key, nullable, foreign_key, unique, index.

Also add types and runtime checks to error when sa_relationship is used with invalid additional arguments: sa_relationship_args, sa_relationship_kwargs.

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.

2 participants