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

No location provided for SchemaException if a type is invalid #168

Closed
octavianN opened this issue Apr 18, 2018 · 2 comments
Closed

No location provided for SchemaException if a type is invalid #168

octavianN opened this issue Apr 18, 2018 · 2 comments

Comments

@octavianN
Copy link

If I load the following schema a SchemaException is thrown:

<unknown location>: unknown type: [integger]

{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "type": "object",
    "properties": {
        "id": {
            "type": "integger"
        }
    }
}

It seems that no location is set for this exception.

erosb added a commit that referenced this issue Apr 18, 2018
erosb added a commit that referenced this issue Apr 18, 2018
@erosb
Copy link
Contributor

erosb commented Apr 18, 2018

Hello @octavianN , thank you for raising this ticket. We fixed it in 2d8e68f .

@erosb erosb closed this as completed Apr 18, 2018
@octavianN
Copy link
Author

Great. 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

No branches or pull requests

2 participants