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

Non-nullable model fields #78

Open
enyo opened this issue Oct 3, 2021 · 0 comments
Open

Non-nullable model fields #78

enyo opened this issue Oct 3, 2021 · 0 comments

Comments

@enyo
Copy link
Contributor

enyo commented Oct 3, 2021

Are there any plans to improve non-nullable fields on Models? Right now, if I'm not mistaken, all fields need to be nullable, so the library can construct them. I think that this should probably be changed, so the constructor accepts all fields as named arguments so that we can access required fields without !.

@devoncarew devoncarew transferred this issue from dart-archive/gcloud Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants