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

5345 more concise error message v12 #5391

Conversation

vmary2014
Copy link
Contributor

Same PR as #5346 but for v12 specifically.

Add a more concise error message when stitching errors occur

  • Altered TryNormalizeDependencies to provide a list of notFound items of type IReadOnlyList<ITypeReference>
  • Added an Unable to find type(s) {0} resource string

In the example provided in the original issue #5345 the error message added should be:

1. Unable to find type(s) None: [AuditLogEntitySortInput123!] (HotChocolate.Types.ObjectType)

And the second - original message - is kept and showing too.

Closes #5345

@michaelstaib michaelstaib merged commit a5eb7f5 into ChilliCream:main-version-12 Sep 12, 2022
@vmary2014
Copy link
Contributor Author

Thanks @michaelstaib 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants