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

Improve error messages emitted by resolve-additional-types #1303

Merged
merged 3 commits into from
Nov 17, 2022

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Oct 25, 2022

I forgot to set the items on an array definition, and got an extremely
opaque error. Hopefully this will improve the lives of anyone who makes a
similar mistake in future.

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

@richvdh richvdh requested a review from a team as a code owner October 25, 2022 17:23
@richvdh
Copy link
Member Author

richvdh commented Oct 25, 2022

I don't think this needs a changelog?

oh, it needs an internal changelog

I forgot to set the `items` on an array definition, and got an extremely
opaque error. Hopefully this will improve the lives of anyone who makes a
similar mistake in future.
@richvdh richvdh force-pushed the rav/better-additional-types-errors branch from 518be8c to 8e7ebd5 Compare October 25, 2022 17:25
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
@richvdh richvdh enabled auto-merge (squash) November 17, 2022 07:22
@richvdh richvdh merged commit 1e393fb into main Nov 17, 2022
@richvdh richvdh deleted the rav/better-additional-types-errors branch November 17, 2022 07:23
clokep pushed a commit to clokep/matrix-spec that referenced this pull request May 3, 2023
…org#1303)

I forgot to set the `items` on an array definition, and got an extremely
opaque error. Hopefully this will improve the lives of anyone who makes a
similar mistake in future.
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.

None yet

2 participants