You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
autocompletion should suggest null and const value
Current Behavior
autocompletion suggest only null
note that problem is probably in doc.getMatchingSchemas(schema.schema); where prop: is equivalent to prop: null so the only correct schema is the one with null type.
The text was updated successfully, but these errors were encountered:
Describe the bug
when schema contains anyOf objects with null type, other types are ignored on value completion.
yaml
Expected Behavior
autocompletion should suggest
null
andconst value
Current Behavior
autocompletion suggest only
null
note that problem is probably in
doc.getMatchingSchemas(schema.schema);
whereprop:
is equivalent toprop: null
so the only correct schema is the one with null type.The text was updated successfully, but these errors were encountered: