Closed kazemat closed 7 years ago
Hey, thanks for PR and sorry for late feedback - I'll look on this in detail tomorrow!
Hey, @kazemat finally looked at this PR - looks really nice :) still needs to deal with
so either way you can fix those or I'll take care of it... in some time :)
Nice, thanks for it! Still need to think if __init__
shouldn't disallow to pass both required and nullable as True, so it will be more consistent
I think this is not necessary. Because the field can be mandatory for the model, but have an empty value
Because the field can be mandatory for the model, but have an empty value
Tricky!
Released in 2.2
I add nullable param for BaseField.
This view in JSONSchema:
{"type": ["string", "null"]}