You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
We use the stitching functionality of the HotChocolate gateway and one issue that can occur during development and release is that when the gateway starts, if a type has been mis-typed in the stitching files, the error message sent by the Gateway is very long and lists all dependencies and types together in one long error message.
As an example - from a live project - but cut as it is so long:
It is obvious in this example that the culprit is AuditLogEntitySortInput123 as this is just an example of me breaking it, however in case of type renaming, issues can occur and in our micro services architecture can be a bit of a pain to fix.
Also there is no specific order - it would be better if the missing type appeared first or last, so that it can be easily pointed at.
The solution you'd like
Show the missing types as an added error:
Missing types first
Full message (the original) set in this example
So essentially 2 errors, the first one only on the missing type(s).
I have tested a code change to solve this issue that I am happy to submit as part of this request.
Product
Hot Chocolate
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Hi.
We use the
stitching
functionality of theHotChocolate
gateway and one issue that can occur during development and release is that when the gateway starts, if a type has been mis-typed in the stitching files, the error message sent by the Gateway is very long and lists all dependencies and types together in one long error message.As an example - from a live project - but cut as it is so long:
It is obvious in this example that the culprit is
AuditLogEntitySortInput123
as this is just an example of me breaking it, however in case of type renaming, issues can occur and in our micro services architecture can be a bit of a pain to fix.Also there is no specific order - it would be better if the missing type appeared first or last, so that it can be easily pointed at.
The solution you'd like
Show the missing types as an added error:
Missing types first
Full message (the original) set in this example
So essentially 2 errors, the first one only on the missing type(s).
I have tested a code change to solve this issue that I am happy to submit as part of this request.
Product
Hot Chocolate
The text was updated successfully, but these errors were encountered: