mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
25 lines
629 B
JavaScript
25 lines
629 B
JavaScript
import { makeAugmentedSchema } from 'neo4j-graphql-js'
|
|
import CONFIG from './../config'
|
|
import applyScalars from './../bootstrap/scalars'
|
|
import applyDirectives from './../bootstrap/directives'
|
|
import typeDefs from './types'
|
|
import resolvers from './resolvers'
|
|
|
|
export default applyScalars(
|
|
applyDirectives(
|
|
makeAugmentedSchema({
|
|
typeDefs,
|
|
resolvers,
|
|
config: {
|
|
query: {
|
|
exclude: ['Notfication', 'Statistics', 'LoggedInUser'],
|
|
},
|
|
mutation: {
|
|
exclude: ['Notfication', 'Statistics', 'LoggedInUser'],
|
|
},
|
|
debug: CONFIG.DEBUG,
|
|
},
|
|
}),
|
|
),
|
|
)
|