mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Apparently, `neo4j-graphql-js` *replaces* the schema partly. When we use join models like `EMOTED`, `neo4j-graphql-js` puts in a join model with the two names of the connected types.
28 lines
529 B
JavaScript
28 lines
529 B
JavaScript
import { makeAugmentedSchema } from 'neo4j-graphql-js'
|
|
import typeDefs from './types'
|
|
import resolvers from './resolvers'
|
|
|
|
export default makeAugmentedSchema({
|
|
typeDefs,
|
|
resolvers,
|
|
config: {
|
|
query: {
|
|
exclude: [
|
|
'Badge',
|
|
'Embed',
|
|
'InvitationCode',
|
|
'EmailAddress',
|
|
'Notfication',
|
|
'Statistics',
|
|
'LoggedInUser',
|
|
'Location',
|
|
'SocialMedia',
|
|
'NOTIFIED',
|
|
'REPORTED',
|
|
'Donations',
|
|
],
|
|
},
|
|
mutation: false,
|
|
},
|
|
})
|