Skip to content

Conversation

@zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Sep 12, 2023

type: enum does not exist, as an enum can be of any type.

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

`type: enum` does not exist, as an enum can be of any type.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh requested a review from a team as a code owner September 12, 2023 12:56
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@KitsuneRal
Copy link
Member

That looks good, but should we also show string instead of enum in the spec text then? For consistency.

@zecakeh
Copy link
Contributor Author

zecakeh commented Sep 12, 2023

Sure we could do that, it should be simple enough. Do you want me to add a commit to this PR or should it be in another PR?

@KitsuneRal
Copy link
Member

Just add another commit here.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
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.

lgtm but maybe @KitsuneRal wants another look?

@richvdh
Copy link
Member

richvdh commented Sep 27, 2023

Assuming kitsune is happy here.

@richvdh richvdh merged commit 5672bdb into matrix-org:main Sep 27, 2023
@zecakeh zecakeh deleted the fix-enums branch September 27, 2023 12:30
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