Description
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
Hey :)
so I was reading docs, and then I remembered something:
simple is better than complex.
Why would we create a new class and object type because we don't want nullable values? isn't accepting a nullable value a property? then maybe we could have used is_null=True/False, and it gives us more control, because now we can have 4 possibility:
- is required, but accept null
- is not required, but accept null
- is required, but null isn't acceptable
- is not required, but null isn't acceptable
-
What is the current behavior?
Using a new class/object, to adopt a behaviour that can be achieved as property -
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
a github repo, https://repl.it or similar. -
What is the expected behavior?
Having is_null, beside required. -
What is the motivation / use case for changing the behavior?
This gives us more flexible, and less complex scalars. -
Please tell us about your environment:
- Version:
- Platform:
-
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow)