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

Clarify formats of string types in account sections #2046

Merged
merged 5 commits into from
Jan 17, 2025

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Jan 6, 2025

This should cover sections 4.7 through 4.9 of the CS API.

Pull Request Checklist

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

@zecakeh zecakeh requested a review from a team as a code owner January 6, 2025 09:08
Signed-off-by: Kévin Commaille <[email protected]>
Comment on lines +12 to +15
anyOf:
- type: string
format: uri
- type: "null"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I also changed this definition to make it clearer that a null value has a different meaning than if the field is absent.

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh requested a review from richvdh January 15, 2025 15:43
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 d0d71d9 into matrix-org:main Jan 17, 2025
12 checks passed
@zecakeh zecakeh deleted the account-string-formats branch January 17, 2025 17:23
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