(I've been advised this bug should be filed against urql core itself, so I've re-filed it there and will close this one.)
I am getting a warning The field__schemadoes not exist onQuery, but the GraphQL document expects it to exist.. @JoviDeCroock on Spectrum advised that likely this is a spurious console warning that should be suppressed.
Just for completeness:
I prepared the schema to feed to the cacheExchange using the script given in the docs, taking it from most recent stable release of apollo-server. Queries work and tools like insomnia happily gather the schema, so I think introspection is working correctly on the server side. The first part of my schema.json file is
Here is the snipped error callstack from the console:
muteWarnings.fx.ts:22 Invalid field: The field `__schema` does not exist on `Query`, but the GraphQL document expects it to exist.
Traversal will continue, however this may lead to undefined behavior!
(Caused At: "IntrospectionQuery" query)
https://bit.ly/2XbVrpR#4
warn @ muteWarnings.fx.ts:22
z @ urql-exchange-graphcache.mjs:58
E @ urql-exchange-graphcache.mjs:111
Z @ urql-exchange-graphcache.mjs:694
$a @ urql-exchange-graphcache.mjs:646
ab @ urql-exchange-graphcache.mjs:636
d @ urql-exchange-graphcache.mjs:830
(anonymous) @ wonka.mjs:678
(anonymous) @ wonka.mjs:468
(anonymous) @ wonka.mjs:812
b @ wonka.mjs:811
...
I'm using Chrome browser with most recent devtools plugin (Version 2.1.0, installed July 1). Package file:
(I've been advised this bug should be filed against urql core itself, so I've re-filed it there and will close this one.)
I am getting a warning
The field
__schemadoes not exist on
Query, but the GraphQL document expects it to exist.
. @JoviDeCroock on Spectrum advised that likely this is a spurious console warning that should be suppressed.Just for completeness:
I prepared the schema to feed to the cacheExchange using the script given in the docs, taking it from most recent stable release of apollo-server. Queries work and tools like insomnia happily gather the schema, so I think introspection is working correctly on the server side. The first part of my schema.json file is
Here is the snipped error callstack from the console:
I'm using Chrome browser with most recent devtools plugin (Version 2.1.0, installed July 1). Package file:
Happy to gather more data as needed..