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

Compartmentalize gojsonschema Format types #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ian-howell
Copy link
Contributor

This moves the ValidFormat type and its related functions out of the
main package code. It also moves the calls to FormatCheckers.Add to an
init function so as to only call them once per application run.

@ian-howell
Copy link
Contributor Author

@garethr I couldn't actually confirm that these FormatCheckers are still required. Could you verify? If they need to be updated, I'll gladly take a look into doing so.

@garethr
Copy link
Collaborator

garethr commented Aug 4, 2019

Looks like this needs rebasing against master now with the PR's I've just merged.

Unfortunately I think those are still required in some cases, if memory serves they dealt with issues/differences between OpenAPI and JSONSchema. I'll try and write a test case.

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

Successfully merging this pull request may close these issues.

2 participants