From aee0b30c352912b26b2f81396afec1eca29d3702 Mon Sep 17 00:00:00 2001 From: Miguel Mendoza Date: Tue, 19 May 2020 00:13:15 -0700 Subject: [PATCH] Fix directive definition in example The example had an old definition of the directive. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c24c7fd..964f931 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ The @scope directive is a custom directive in this project. ``` # sample schema from Apollo Server (https://www.apollographql.com/docs/graphql-tools/generate-schema.html) - directive @scope(value: String) on OBJECT + directive @scope(name: String!, query: Boolean = false, mutation: Boolean = false, cascade: Boolean = true) on OBJECT | FIELD_DEFINITION type Author { id: Int!