-
Notifications
You must be signed in to change notification settings - Fork 5
Custom scalar args broken as query variables after schema transform #18
Comments
Thanks for great reproduction! |
My guess is that it is because I am passing an empty object to delegateToSchema rather than the args here: https://github.com/yaacovCR/graphql-tools-fork/blob/master/src/stitching/resolvers.ts#L114 I did that because args are unchanged, but I forgot that any custom stuff needs to be reserialized. This should get better covered by tests if indeed the cause. |
@yaacovCR, thanks, the fix is working, my tests are passing. |
Saw that too, was not on my personal set up, I'm thinking it has to do with latest update to graphql. Will have to check later with a clean install with the latest updates of all packages |
Fixed. |
Given:
When:
$argScalar
) instead of inline value inside the queryThen:
Minimalistic reproduction:
Expectation:
What is being logged:
The text was updated successfully, but these errors were encountered: