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
Hello @DScheglov, I haven't dig too deep into this, however I don't think the current behaviour is correct:
I assume that when we say "programmatically required" we are talking about something like: required: () => someLogic
Then if a field is programmatically required, we can't tell at build time what will be the value of required, so I'd argue that it should default to the field being optional.
If you have a schema, then add a field as being required programmatically, the resulting jsonschema doesn't mark the field as required.
The text was updated successfully, but these errors were encountered: