-
-
Notifications
You must be signed in to change notification settings - Fork 748
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
Add missing type error message #5346
Add missing type error message #5346
Conversation
@vmary2014 thanks for contributing... Could you create a test that snapshots the error message. |
Hi @michaelstaib done. On my branch, aligned with the latest of version 12 I also added an integration test for the |
Thanks @michaelstaib for merging this. Do you know if it will make it to v12 too? Happy to raise a PR against your |
If you create a PR for the v12 branch I will merge it |
Done here #5391 |
Add a more concise error message when stitching errors occur
TryNormalizeDependencies
to provide a list ofnotFound
items of typeIReadOnlyList<ITypeReference>
Unable to find type(s) {0}
resource stringIn 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.
Hope this is useful 👍
Closes #5345