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

Inherits() uses go url.ResolveReference(), fixes relative $ref #3

Merged
merged 1 commit into from
Aug 27, 2014

Conversation

janmentzel
Copy link
Contributor

Uses golang url.ResolveReference() to implement Inherits() logic. Manual implementations of inheritsImplHttp() and inheritsImplFile no longer needed. All handled by url.ResolveReference() out of the box.

Simplified parse()

Added RFC3986 examples as tests.

https://github.com/janmentzel/gojsonschema tests still pass.

@janmentzel
Copy link
Contributor Author

Hi, feel free to ask me :)

@janmentzel
Copy link
Contributor Author

Any problems / questions / wishes?
I would like to use your original gojschonschema project, but I still have to use my fork because I depend on the fix here.

xeipuuv added a commit that referenced this pull request Aug 27, 2014
Inherits() uses go url.ResolveReference(), fixes relative $ref
@xeipuuv xeipuuv merged commit d5cf412 into xeipuuv:master Aug 27, 2014
@janmentzel
Copy link
Contributor Author

great, thank you :)

marwan-at-work pushed a commit to marwan-at-work/gojsonreference that referenced this pull request Feb 2, 2021
Update basic example in README to reflect that GetFileJson() takes a path to a file, not a URI
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.

None yet

2 participants