Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCS: Document removal of exclude directive #9870

Merged
merged 1 commit into from
Feb 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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