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

Fix anchors for schemas under oneOf #1799

Merged
merged 2 commits into from Apr 24, 2024
Merged

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Apr 24, 2024

The subschemas were not updated in the parent schema, so the anchor would not be forwarded to the parent schema and the link to the subschema won't be rendered.

This results in 2 changes in the rendered spec:

For m.room.encrypted:

Before:

image

After:

image

For POST /_matrix/federation/v1/user/keys/claim:

Before:

image

After:

image

Preview: https://pr1799--matrix-spec-previews.netlify.app

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh requested a review from a team as a code owner April 24, 2024 09:22
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

Thank you!

@richvdh richvdh merged commit 7201042 into matrix-org:main Apr 24, 2024
12 checks passed
@zecakeh zecakeh deleted the oneof-anchor branch April 24, 2024 12:20
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