11 lines
212 B
JavaScript
11 lines
212 B
JavaScript
import { GraphQLSchema } from 'graphql'
|
|
import Mutation from './mutations'
|
|
import RootQuery from './queries'
|
|
|
|
const Schema = new GraphQLSchema({
|
|
query: RootQuery,
|
|
mutation: Mutation
|
|
})
|
|
|
|
export default Schema
|