neo4j-graphql / neo4j-graphql-java

Neo4j Labs Project: Pure JVM translation for GraphQL queries and mutations to Neo4j's Cypher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using @exclude directive to skip generation of Query

Andy2003 opened this issue · 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