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

Required (not null) constraint #259

Closed
sirex opened this issue Jun 2, 2022 · 0 comments · Fixed by #344
Closed

Required (not null) constraint #259

sirex opened this issue Jun 2, 2022 · 0 comments · Fixed by #344

Comments

@sirex
Copy link
Collaborator

sirex commented Jun 2, 2022

Add possibility to specify if a property can have a NULL value.

Currently, by default all properties can be NULL. So in order to add required properties a require keyword could be used. For example:

model property type ref
City
name string require
country ref Country

All properties marked with require can't be NULL and this should be checked on write.

@sirex sirex moved this to Todo in Portalo plėtra Jun 7, 2022
@sirex sirex removed the status in Portalo plėtra Jun 7, 2022
@sirex sirex moved this to Todo in Portalo plėtra Jun 8, 2022
@sirex sirex removed the status in Portalo plėtra Jun 8, 2022
@adp-atea adp-atea moved this to In Progress in Portalo plėtra Jan 16, 2023
@adp-atea adp-atea linked a pull request Jan 17, 2023 that will close this issue
@adp-atea adp-atea moved this from In Progress to Review in Portalo plėtra Jan 17, 2023
@sirex sirex moved this from Review to Todo in Portalo plėtra Jan 18, 2023
@adp-atea adp-atea moved this from Todo to In Progress in Portalo plėtra Jan 19, 2023
@adp-atea adp-atea moved this from In Progress to Review in Portalo plėtra Jan 19, 2023
@sirex sirex moved this from Review to Todo in Portalo plėtra Mar 1, 2023
@adp-atea adp-atea moved this from Todo to In Progress in Portalo plėtra Mar 13, 2023
@adp-atea adp-atea moved this from In Progress to Review in Portalo plėtra Mar 13, 2023
@sirex sirex moved this from Review to Done in Portalo plėtra Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant