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

Validate value via pointer #365

Open
jeromegn opened this issue Apr 26, 2022 · 0 comments
Open

Validate value via pointer #365

jeromegn opened this issue Apr 26, 2022 · 0 comments

Comments

@jeromegn
Copy link

In our use case, we're accepting small patches to a JSON document and we'd like to be able to validate the changed path only.

From a public API standpoint, we'd have our schema(s) and would be able to pass a pointer to a function to validate only the valued changed at the pointer.

Looking at the internal API structure, I don't think this would be too hard. If this is something that might benefit others, then I could make a PR.

I'd like some feedback on the idea about its usefulness and feasibility!

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

No branches or pull requests

1 participant