If a set of documents being inferred have a vector of documents, but one document sets this to nil, the resulting inferred schema doesn't add type :null to the generated type.
I.e. the result is :type #{:array}, and not as expected :type #{:array :null}.
This works for other types. Question: Is it because of the initial array type, because the first document used to infer has a nil value, or because of some nested property?
If a set of documents being inferred have a vector of documents, but one document sets this to nil, the resulting inferred schema doesn't add type
:null
to the generated type.I.e. the result is
:type #{:array}
, and not as expected:type #{:array :null}
.This works for other types. Question: Is it because of the initial array type, because the first document used to infer has a nil value, or because of some nested property?