Skip to content

How to add a custom resolver? #121

Discussion options

You must be logged in to vote

Type for the context can be located in any file you want. You just need to import it when you want to create context object in a type-safe way. Check the docs of Apollo Server or other lib you use for exposing GraphQL schema to the world.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ncunningham-stairsupplies
Comment options

@MichalLytek
Comment options

Answer selected by MichalLytek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants