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

Wrong unprocessed keywords: ["type"] error when using propertyNames with $ref #138

Closed
zepatrik opened this issue Oct 19, 2020 · 4 comments
Closed

Comments

@zepatrik
Copy link
Contributor

In my example (https://github.com/zepatrik/schemasafe-propertyNames-example) schemasafe reports an unprocessed keyword error. The problem is there is no "type" keyword at the position it is reported. I tried several different things to circumvent this error but nothing worked.
The problem seems to be rooted at using "$ref" with "propertyNames", as moving the definition into the "propertyNames" schema works.
See also SchemaStore/schemastore#1312 where this initially came up.

@ChALkeR
Copy link
Contributor

ChALkeR commented Oct 23, 2020

@zepatrik Thanks for the testcase! Investigating.

@ChALkeR
Copy link
Contributor

ChALkeR commented Oct 23, 2020

Fixed in aa8fd57.
Thanks again!

@ffjanhoeck
Copy link

When this will be released @ChALkeR ? :) I need that bugfix as well :)

@GerryFerdinandus
Copy link

This issue is fix and closed. But for the user of this product the issue is still not fixed because it is not yet released!

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

4 participants