Skip to content

Nullable infer on array type doesn't add null type #6

@luposlip

Description

@luposlip

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?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions