@appigram/graphql-loader

1.2.22 • 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

/@appigram/graphql-loader/

    Package Sidebar

    Install

    npm i @appigram/graphql-loader

    Weekly Downloads

    0

    Version

    1.2.22

    License

    MIT

    Unpacked Size

    10.1 kB

    Total Files

    10

    Last publish

    Collaborators

    • appigram