csillag / graphql-loader

A ecosystem for package authors to inject schemas to apollo apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphQL Loader

Creates a ecosystem for package authors to inject schemas to your app.

Usage

import {makeExecutableSchema} from 'graphql-tools'
import {loadSchema, getSchema} from 'graphql-loader'

import typeDefs from './schema'
import resolvers from './resolvers'

loadSchema({typeDefs, resolvers})

const schema = makeExecutableSchema(getSchema())

Contributors

About

A ecosystem for package authors to inject schemas to apollo apps

License:MIT License


Languages

Language:JavaScript 100.0%