I’m trying to do something like this : but when I do that in my graphql.schema : I get this error : how am I supposed to add the directives? Answer The right way to do that with Neo4jGraphql was : see this doc for more informations : https://neo4j.com/docs/graphql-manual/current/auth/