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
domoritz
changed the title
[feature request] Allow using dependencies schema on certain prop
Allow using dependencies schema on certain prop
Jul 3, 2024
One thing I worry about is support in existing schema tools like the ones used in Vegas Altair (which is one of my primary use cases). If a change makes type hierarchies clearer, it could be worth the change, though.
Consider the following type.
Generating the type above results an
anyOf
block. WhilereqProp
is required, it preventstypeA
being listed intype
option.The problem can be solved if using
dependencies
.The text was updated successfully, but these errors were encountered: