Skip to content

Conversation

@mwadams
Copy link
Contributor

@mwadams mwadams commented Sep 9, 2023

An issue was opened against my json-schema implementation corvus-dotnet/Corvus.JsonSchema#238

This turned out to be an implementation-specific bug that related to the handling of references to non-keyword schema islands.

While this is very much an "implementation specific" issue, it is similar to the existing refOfUnknownKeyword tests, and catches a case that is not otherwise validated, but is common in e.g. OpenAPI.

The Slack discussion is to be found:

https://json-schema.slack.com/archives/C8CQ81GKF/p1690501470341369

This PR adds tests to the existing optional/refOfUnknownKeyword.json tests in draft2020-12, draft2019-09 and draft-next.

@mwadams mwadams requested a review from a team as a code owner September 9, 2023 14:44
@mwadams
Copy link
Contributor Author

mwadams commented Sep 9, 2023

These specs pass against my implementation for 2019-09 and 2020-12.

I am not yet running against draft-next

image
image

@Julian Julian added the waiting for author A pull request which is waiting for an update from its author. label Sep 13, 2023
@mwadams
Copy link
Contributor Author

mwadams commented May 16, 2024

Apologies! For some reason I didn't get a notification about this. I'll action it now.

@karenetheridge
Copy link
Member

Surely rebasing would fix that?

Copy link
Member

@jdesrosiers jdesrosiers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just needed a rebase to be merged.

@jdesrosiers jdesrosiers merged commit ef78a0e into json-schema-org:main Oct 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting for author A pull request which is waiting for an update from its author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants