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

Add func (c *FormatCheckerChain) List() []string #325

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

Conversation

fenollp
Copy link

@fenollp fenollp commented Mar 4, 2021

My usage is to be able to precisely control which format checkers are in the chain.

My current workaround is to reset the chain with

func init() {
	gojsonschema.FormatCheckers = gojsonschema.FormatCheckerChain{}
	gojsonschema.FormatCheckers.Add(...)
	...
}

still, this may help someone else somehow :)

Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
@Surfoo
Copy link

Surfoo commented Oct 26, 2022

Hello,
This repository is not maintained anymore, the new one is https://github.com/gojsonschema/gojsonschema, could you submit your PR on this one? Thank you!

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