Closed augusto-herrmann closed 5 months ago
According to requisites file defined by stakeholder, some fields were defined as mandatory.
In models.py they were indeed nullable=False, but in schemas.py they were defined as optional. We made it consistent by making it mandatory there too.
models.py
nullable=False
schemas.py
Some new tests were added for making sure that optional fields can be included with a json value of null.
null
Fixes #95
According to requisites file defined by stakeholder, some fields were defined as mandatory.
In
models.py
they were indeednullable=False
, but inschemas.py
they were defined as optional. We made it consistent by making it mandatory there too.Some new tests were added for making sure that optional fields can be included with a json value of
null
.Fixes #95