makeRemoteExecutableSchema isn't behaving like the docs #891
Labels
blocking
Prevents production or dev due to perf, bug, build error, etc..
docs
Focuses on documentation changes
good first issue
has-reproduction
❤ Has a reproduction in a codesandbox or single minimal repository
As kind of reported on #798 when building a custom fetcher the behavior isn't like in the docs.
Currently the docs seem to assume that the query is a string, when it is in fact a DocumentNode.
The typescript types are correct, by the way.
A workaround is to print the document node before calling your custom fetcher.
This is the affected part of the docs
Using the workaround we'd get:
I'm using the latest version (3.0.5).
As I'm confused about the correct behavior I won't submit a PR.
I'm waiting to check with you if the docs are mistaken of the implementation is wrong.
Thanks!
The text was updated successfully, but these errors were encountered: