Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require $id #16

Open
gregsdennis opened this issue Feb 15, 2023 · 1 comment
Open

Require $id #16

gregsdennis opened this issue Feb 15, 2023 · 1 comment

Comments

@gregsdennis
Copy link
Member

All schemas should have an identifier.

@jdesrosiers
Copy link
Member

I disagree with this one. I know the spec recommends that schemas include an identifier, but I've come to believe that's bad advice. I find it's better to use natural identifiers such as file paths or network locations. If a schema is truly in-memory-only, you can always provide an identifier when loading a schema rather than use $id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants