mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOCS: Document removal of exclude directive
This commit is contained in:
parent
5a4641d806
commit
07dea64bf6
@ -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**
|
||||
```
|
||||
@ -138,8 +138,9 @@ Page:
|
||||
title: true
|
||||
content: true
|
||||
update:
|
||||
exclude:
|
||||
sensitiveField: true
|
||||
fields:
|
||||
'*': true
|
||||
sensitiveField: false
|
||||
```
|
||||
|
||||
### Adding more fields
|
||||
|
Loading…
Reference in New Issue
Block a user