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

Expose formatValidator in StringSchema #53

Closed
ankitshah111 opened this issue Nov 4, 2016 · 2 comments
Closed

Expose formatValidator in StringSchema #53

ankitshah111 opened this issue Nov 4, 2016 · 2 comments

Comments

@ankitshah111
Copy link

ankitshah111 commented Nov 4, 2016

I'm trying to use the latest version of your library for a purpose slightly different that that is intended for the library. I see that StringSchema doesnt have a getter for formatValidator. I assume, I can get the required property from its parent requiredProperties getter. However, I cant get access to its formats. Also, NotSchema, doesnt have a getter for the mustNotMatch Schema. It would be helpful to get access to it as well.

@erosb erosb closed this as completed in f040744 Nov 6, 2016
@erosb
Copy link
Contributor

erosb commented Nov 6, 2016

I've just fixed this in HEAD.
May I ask what is your slightly different usage scenario?

@ankitshah111
Copy link
Author

I actually am using the library to build internal data structures that represent a json schema within our product. Would you also be able to expose the mustNotMatch Schema in NotSchema?

erosb added a commit to erosb/everit-json-schema that referenced this issue Nov 8, 2016
erosb added a commit to erosb/everit-json-schema that referenced this issue Nov 8, 2016
erosb added a commit that referenced this issue Jan 26, 2017
erosb added a commit that referenced this issue Jan 26, 2017
erosb added a commit that referenced this issue Jan 26, 2017
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