Skip to content

Commit 8523afb

Browse files
authored
Merge pull request #8 from nikolasburk/patch-1
Update README.md
2 parents b4f0127 + a101778 commit 8523afb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ function transformSchema(schema: GraphQLSchema, rules: Rules): GraphQLSchema
6262

6363
```ts
6464
const transformedSchema = transformSchema(schema, {
65-
'create*': false,
66-
'delete*': false,
65+
Mutation: {
66+
'create*': false,
67+
'delete*': false
68+
}
6769
})
6870
```
6971

0 commit comments

Comments
 (0)