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 parsing of nested slices in resolve-refs and resolve-allof partials #2069

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Feb 7, 2025

Since append treats slices as a list of items to add rather than an item itself, we need to wrap a slice into another slice to add it as an item.

Fixes #1033.
Fixes #1820.

e.g. for room version 1:

image

Pull Request Checklist

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

@zecakeh zecakeh requested a review from a team as a code owner February 7, 2025 10:01
Signed-off-by: Kévin Commaille <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant