Skip to content

Commit

Permalink
Merge pull request #9870 from unclecheese/pulls/4/x-clood
Browse files Browse the repository at this point in the history
DOCS: Document removal of exclude directive
  • Loading branch information
chillu committed Feb 25, 2021
2 parents e9c5a50 + 07dea64 commit 229672a
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ Page:

#### Customising the input types

The input types, specifically in `create` and `update` can be customised with a whitelist
and/or [blacklist](#blacklisted-fields) of fields.
The input types, specifically in `create` and `update` can be customised with a
list of fields, which can include explicitly _disallowed_ fields.

**app/_graphql/models.yml**
```
Expand All @@ -138,8 +138,9 @@ Page:
title: true
content: true
update:
exclude:
sensitiveField: true
fields:
'*': true
sensitiveField: false
```

### Adding more fields
Expand Down

0 comments on commit 229672a

Please sign in to comment.