-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: add --store to load a schema store #133
Conversation
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very Henry!
👏 Please feel free to merge when you are satisfied with the implementation! I think it is very good. Thank you very much! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that maybe it would make clear in the CLI if we show the URL as example. But please feel free to ignore if you think it is not relevant.
(Sorry, I'm writing from the phone, so the review suggestions might be tricky)
Co-authored-by: Anderson Bravalheri <andersonbravalheri+github@gmail.com>
for more information, see https://pre-commit.ci
This adds a
--store
option to load a schema store. I also considered--tools
, and also considered requiring the fragment (#/properties/tools/properties
), not sure which is best. I could see--store
being expected to store something.I'm also separately looking into a way to expose the "fragment" setting to classic plugins, since I think it would be useful to have a pinnable copy of the SchemaStore.