Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-28-2020 09:35 AM
my schema:
const schema = makeAugmentedSchema({
typeDefs,
resolvers: resolveFunctions,
config: {
auth: {
isAuthenticated: true,
hasRole: true
},
mutation: {
exclude: ["AddUserTickets","RemoveUserTickets","MergeUserTickets"]
}
}
});
The mutations still show up in graphql playground docs, and are functional..
04-28-2020 09:51 AM
Have you tried "_AddUserTicketsPayload" in the documentation is says that you need to add the "type names" which are usually preceded by an underscore.
04-28-2020 10:17 AM
Yes, I've tried that also.. the mutations still show up 😞
04-28-2020 11:22 AM
Seems like it also may be a relationship issue as well. Since you've got a to and from in the schema. You might need to do like the second half of the example in the docs and exclude those relationship types.
All the sessions of the conference are now available online