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

[FEATURE] Support non-nullable fields in schema expression #317

Open
kvnkho opened this issue Apr 9, 2022 · 0 comments
Open

[FEATURE] Support non-nullable fields in schema expression #317

kvnkho opened this issue Apr 9, 2022 · 0 comments

Comments

@kvnkho
Copy link
Collaborator

kvnkho commented Apr 9, 2022

Is your feature request related to a problem? Please describe.

At the moment, the schema expression treats all fields as nullable. For example:

"name:[{firstname:str,middlename:str,lastname:str}],id:str,gender:str,salary:int"

allows firstname, middlename, and lastname to be null.

Describe the solution you'd like

"name:[{firstname:str!,middlename:str!,lastname:str}],id:str,gender:str,salary:int"

can indicate that firstname and middlename can't be null.

Additional context

Fugue uses the schema from triad so this change will likely need to be done upstream.

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

No branches or pull requests

1 participant