divyendu
01/06/2018, 12:39 PMextractFragmentReplacements
from graphql-binding here?
I am trying to build basic auth via following (https://www.graph.cool/docs/1.0/reference/migration-guide/authentication-yaeco6ieth) and (https://github.com/graphcool/graphcool-server-example/blob/91fb56a295a313a3f0120e815cd0470f9ca3cdca/src/resolvers/index.ts)
but as soon as I wrap resolvers in extractFragmentReplacements
, they start to resolve to null.
-- Found the mistake, needed to export both resolvers and fragmentReplacements and use in call to Graphcool
from graphcool-binding
and resolvers in call to GraphQLServer
from graphql-yoga