Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 482 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 482 Bytes

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