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

Remove overridden references to examples/minimal_pdu.json and add the missing room_id field. #1454

Merged
merged 5 commits into from Feb 28, 2023

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Feb 26, 2023

From #1310 (comment).

The syntax is incorrect and would require to use allOf because a $ref can't have siblings.
However the only field not overwritten of that definition is room_id, so we include it instead of the $ref.

Pre-requisite for #1310.

Signed-off-by: Kévin Commaille zecakeh@tedomum.fr

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

The syntax is incorrect and would require to use allOf
because a $ref can't have siblings.
However the only field not overwritten of that definition is room_id,
so we include it instead of the $ref

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh requested a review from a team as a code owner February 26, 2023 09:56
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh changed the title Replace references to minimal_pdu.json by the missing room_id field Remove overriden references to examples/minimal_pdu.json and add the missing room_id field. Feb 26, 2023
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh changed the title Remove overriden references to examples/minimal_pdu.json and add the missing room_id field. Remove overridden references to examples/minimal_pdu.json and add the missing room_id field. Feb 26, 2023
@zecakeh zecakeh mentioned this pull request Feb 26, 2023
4 tasks
@richvdh richvdh self-requested a review February 28, 2023 11:27
@richvdh richvdh enabled auto-merge (squash) February 28, 2023 13:18
@richvdh richvdh merged commit 427f472 into matrix-org:main Feb 28, 2023
clokep pushed a commit to clokep/matrix-spec that referenced this pull request May 3, 2023
…he missing `room_id` field. (matrix-org#1454)

The syntax is incorrect and would require to use allOf
because a $ref can't have siblings.
However the only field not overwritten of that definition is room_id,
so we include it instead of the $ref

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh deleted the remove-minimal-pdu-ref branch May 9, 2023 09:15
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

3 participants