Name: graphql-config-extension-prisma
Owner: Prisma
Description: null
Created: 2018-01-13 21:04:27.0
Updated: 2018-05-11 11:06:52.0
Pushed: 2018-05-24 00:39:57.0
Homepage: null
Size: 89
Language: TypeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Injects endpoints and headers into a GraphQL Config instance based on a given prisma.yml
.graphqlconfig.yml
ects:
tabase:
extensions:
prisma: prisma.yml
rt { patchEndpointsToConfig } from 'graphql-config-extension-prisma'
rt { getGraphQLConfig, GraphQLConfigData } from 'graphql-config'
t config: GraphQLConfigData = getGraphQLConfig().config
t patchedConfig: GraphQLConfigData = patchEndpointsToConfig(
nfig,
ocess.cwd(),
This is currently being used in the graphql-playground-html and graphql-playgorund-electron.