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
{{ message }}
Repository navigation
Invalid GID produces top-level error and erases rest of response #7346
I would expect the rest of the response (the unrelated field) to be present and a proper error that associates the error of the invalid Id to the field / argument where it happened:
Activity
tobias-tengler commentedon Aug 8, 2024
I also added another test in #7345 that showcases that the error is raised even if the field is skipped. It produces exactly the same error:
{ "errors": [ { "message": "The node ID string has an invalid format.", "extensions": { "originalValue": "invalid" } } ] }This seems veeeery unexpected.
cliedeman commentedon Aug 16, 2024
Ran into the same issue.
Quite a slow down on tracking down errors. I also didnt' find any easy workaround to get a better error.
Wrapping the default IDSerializer throwing also results in the same behaviour
Fix #7346 preserve sibling data for invalid ID literals
Fix #7346 preserve sibling data on invalid compiled IDs (#9265)