Closed kchapple closed 4 years ago
Validator layer idea ->
Catch fields without defaults not being filled in.
Catch things you thought were numeric being filed in as string
Catch things you thought were integers that are actually decimal numbers
Catching strings that are longer than you made space for in the varchar
fields in the JSON that are not in the schema???
top level (i.e. not a subarray) that is not being filled in… generate a warning?
Cannot pass null to a non-nullable value.
When running from command-line, this is what the validator should output on bad data.
Works perfectly.
Validator layer idea ->
Catch fields without defaults not being filled in.
Catch things you thought were numeric being filed in as string
Catch things you thought were integers that are actually decimal numbers
Catching strings that are longer than you made space for in the varchar
fields in the JSON that are not in the schema???
top level (i.e. not a subarray) that is not being filled in… generate a warning?
Cannot pass null to a non-nullable value.