What is the use of `extractFragmentReplacements` f...
# prisma-whats-new
d
What is the use of
extractFragmentReplacements
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