graphql-loader

1.2.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i graphql-loader

Weekly Downloads

74

Version

1.2.1

License

MIT

Last publish

Collaborators

  • nicolaslopezj