Skip to content

Fix example for ExportedSessionData #2154

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

Merged
merged 2 commits into from
Jun 17, 2025

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented May 29, 2025

Currently, the example for ExportedSessionData is missing values for room_id and session_id.

Move the example field values for KeyBackupSessionData into the field definitions, so that an example for the object as a whole is built automatically, and when we extend it to form ExportedSessionData the explicit example does not override the more complete autogenerated one.

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

Currently, the example for `ExportedSessionData` is missing values for
`room_id` and `session_id`.

Move the example field values for `KeyBackupSessionData` into the field
definitions, so that an example for the object as a whole is built
automatically, and when we extend it to form `ExportedSessionData` the
explicit example does not override the more complete autogenerated one.
@richvdh richvdh requested a review from a team as a code owner May 29, 2025 14:44
@richvdh richvdh merged commit 979264e into main Jun 17, 2025
12 checks passed
@richvdh richvdh deleted the rav/fix_exported_session_data_example branch June 17, 2025 17:43
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.

2 participants