Created
July 22, 2020 10:56
-
-
Save machi1990/a7adc26cfadeb67ae8f5d1a85ef765e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { typeDefs, resolvers, contextCreator, services } = buildGraphbackAPI(schema, { | |
dataProviderCreator: createKnexDbProvider(dbConfig), | |
plugins: [] | |
}); | |
const apolloServer = new ApolloServer({ | |
typeDefs, | |
resolvers, | |
context: contextCreator | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment