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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.1
    98
    • latest

Version History

Package Sidebar

Install

npm i graphql-loader

Weekly Downloads

98

Version

1.2.1

License

MIT

Last publish

Collaborators

  • nicolaslopezj