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

Closed
jeromegn opened this issue Apr 26, 2022 · 1 comment
Closed

Validate value via pointer #365

jeromegn opened this issue Apr 26, 2022 · 1 comment

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!

@Stranger6667
Copy link
Owner

Hi! Sorry for the long delay, but it is solvable now. See this comment. There are a few things to improve in the API and I'll keep track of it in #432.

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

2 participants