Skip to content

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
@Johennes Johennes mentioned this pull request Jul 3, 2025
34 tasks
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.

3 participants