Skip to content
Discussion options

You must be logged in to vote

@JSv4 I assume you are referring to things like ISO-3166 country codes, for example? In my opinion, I think we should avoid these kinds of validations. These kinds of things inevitable create maintenance headaches that are not our core interest.

If I were writing an open-source validation library for the schema, I would certainly allow my users to provide additional validation logic, so that they could choose to add checks like these. That is, to me, the right "layer" of concern to address this issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JSv4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
Converted from issue

This discussion was converted from issue #60 on January 27, 2022 18:45.