Issue regarding prevent null value #685
Unanswered
chopadetejaswini
asked this question in
Issues
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a schema, suppose required fields like name have data type String. In postman when we sent "name":"" in json format the entity is getting saved with name as blank field.
We want to prevent blank value getting saved for required field, there have to be some value, it should not accepted as blank. What should we add in schema if we want to prevent this problem?
Beta Was this translation helpful? Give feedback.
All reactions