graphql-config-extension-prisma
[![CircleCI](https://circleci.com/gh/prisma/graphql-config-extension-prisma.svg?style=shield)](https://circleci.com/gh/prisma/graphql-config-extension-prisma) [![npm version](https://badge.fury.io/js/graphql-config-extension-prisma.svg)](https://badge.fur
Last updated 7 years ago by timsuchanek .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install graphql-config-extension-prisma 
SYNC missed versions from official npm registry.

graphql-config-extension-prisma

CircleCI npm version

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

Usage in .graphqlconfig.yml

projects:
  database:
    extensions:
      prisma: prisma.yml

Usage in Node.js

import { patchConfig } from 'graphql-config-extension-prisma'
import { getGraphQLConfig, GraphQLConfigData } from 'graphql-config'

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

Current Usages

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

Current Tags

  • 0.3.0                                ...           latest (7 years ago)

21 Versions

  • 0.3.0                                ...           7 years ago
  • 0.2.5                                ...           7 years ago
  • 0.2.4                                ...           8 years ago
  • 0.2.3                                ...           8 years ago
  • 0.2.2                                ...           8 years ago
  • 0.2.1                                ...           8 years ago
  • 0.2.0                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
  • 0.0.12                                ...           8 years ago
  • 0.0.11                                ...           8 years ago
  • 0.0.10                                ...           8 years ago
  • 0.0.9                                ...           8 years ago
  • 0.0.8                                ...           8 years ago
  • 0.0.7                                ...           8 years ago
  • 0.0.6                                ...           8 years ago
  • 0.0.5                                ...           8 years ago
  • 0.0.4                                ...           8 years ago
  • 0.0.3                                ...           8 years ago
  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
  • 0.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 10
Last Month 21
Dependencies (2)
Dev Dependencies (8)

Copyright 2013 - present © cnpmjs.org | Home |