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

Add is_null getter for ColumnDef struct #1381

Merged
merged 3 commits into from
Jan 10, 2023

Conversation

karatakis
Copy link
Contributor

PR Info

On the project Seaography when I try to build the dynamic GraphQL type of an Entity I want to access the ColumnDef struct field null which indicates if this column accepts null values. With this value I can properly populate the GraphQL node for Entity and mark which fields are optional.

New Features

  • Added ColumnDef::is_null method

src/entity/column.rs Outdated Show resolved Hide resolved
@tyt2y3 tyt2y3 merged commit c83c674 into SeaQL:master Jan 10, 2023
@billy1624 billy1624 added this to the 0.11.x milestone Jan 31, 2023
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.

3 participants