neo4j-graphql-java icon indicating copy to clipboard operation
neo4j-graphql-java copied to clipboard

Using @exclude directive to skip generation of Query

Open Andy2003 opened this issue 3 years ago • 0 comments

Schema:

type Actor @exclude(operations: ["read"]) {
  name: String
}

type Movie {
  title: String
}

Valid values for operations are create, read, update, delete and * for all

If * is used this type is skipped completely.

I created a proposal to convert the operations argument into an enum: https://github.com/neo4j/graphql-tracker-temp/issues/13

Andy2003 avatar Mar 05 '21 15:03 Andy2003