Add FIELD_DEFINITION to directives in schema

This commit is contained in:
Barry Low committed 2019-02-10 12:22:29 -08:00
1 parent 1f9c82b8ef
commit e84685f690
1 file changed
+4 -4
+4 -4
View File
@@ -1,9 +1,9 @@
# import Query.TeamConnection, Team from "../generated/prisma.graphql"
directive @isAuthenticated on QUERY | FIELD | MUTATION
directive @hasRole(roles: [String]) on QUERY | FIELD | MUTATION
directive @isOwner(type: String) on QUERY | MUTATION
directive @isOwnerOrHasRole(type: String, roles: [String]) on QUERY | MUTATION
directive @isAuthenticated on QUERY | FIELD | MUTATION | FIELD_DEFINITION
directive @hasRole(roles: [String]) on QUERY | FIELD | MUTATION | FIELD_DEFINITION
directive @isOwner(type: String) on QUERY | MUTATION | FIELD_DEFINITION
directive @isOwnerOrHasRole(type: String, roles: [String]) on QUERY | MUTATION | FIELD_DEFINITION
type Query {
teams: TeamConnection