graphql-config-extension-graphcool

[![CircleCI](https://circleci.com/gh/prisma/graphql-config-extension-graphcool.svg?style=shield)](https://circleci.com/gh/prisma/graphql-config-extension-graphcool) [![npm version](https://badge.fury.io/js/graphql-config-extension-graphcool.svg)](https://

Apache-2.0 37 个版本
安装
npm install graphql-config-extension-graphcool
yarn add graphql-config-extension-graphcool
pnpm add graphql-config-extension-graphcool
bun add graphql-config-extension-graphcool
README

graphql-config-extension-graphcool

CircleCI npm version

Injects endpoints and headers into a GraphQL Config instance based on a given graphcool.yml

Usage in .graphqlconfig.yml

projects:
  database:
    extensions:
      graphcool: graphcool.yml

Usage in Node.js

import {patchEndpointsToConfig} from 'graphql-config-extension-graphcool'
import {getGraphQLConfig, GraphQLConfigData} from 'graphql-config'

const config: GraphQLConfigData = getGraphQLConfig().config
const patchedConfig: GraphQLConfigData = patchEndpointsToConfig(config, process.cwd())

Current Usages

This is currently being used in the graphql-playground-html and graphql-playground-electron.

版本列表
1.0.11 2018-09-17
1.0.10 2018-09-17
1.0.9 2018-09-13
1.0.8 2018-02-25
1.0.7 2018-02-14
1.0.6 2018-01-29
1.0.5 2018-01-14
1.0.4 2018-01-08
1.0.3 2018-01-08
1.0.2 2018-01-06
1.0.1 2018-01-04
1.0.0 2018-01-03
0.3.2 2018-01-03
0.3.1 2018-01-01
0.3.0 2018-01-01
0.2.0 2017-12-24
0.1.8 2017-12-23
0.1.7 2017-12-23
0.1.6 2017-12-22
0.1.5 2017-12-20
0.1.4 2017-12-20
0.1.3 2017-12-20
0.1.2 2017-12-20
0.1.1 2017-12-19
0.1.0 2017-12-19
0.0.5 2017-12-14
0.0.4 2017-12-14
0.0.3 2017-12-14
0.0.2 2017-12-12
0.0.1 2017-12-11
0.0.0-alpha.7 2017-12-11
0.0.0-alpha.6 2017-12-11
0.0.0-alpha.5 2017-12-11
0.0.0-alpha.4 2017-12-11
0.0.0-alpha.3 2017-12-11
0.0.0-alpha.2 2017-12-11
0.0.0-alpha.1 2017-12-11