mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #9870 from unclecheese/pulls/4/x-clood
DOCS: Document removal of exclude directive
This commit is contained in:
commit
229672a49d
@ -125,8 +125,8 @@ Page:
|
|||||||
|
|
||||||
#### Customising the input types
|
#### Customising the input types
|
||||||
|
|
||||||
The input types, specifically in `create` and `update` can be customised with a whitelist
|
The input types, specifically in `create` and `update` can be customised with a
|
||||||
and/or [blacklist](#blacklisted-fields) of fields.
|
list of fields, which can include explicitly _disallowed_ fields.
|
||||||
|
|
||||||
**app/_graphql/models.yml**
|
**app/_graphql/models.yml**
|
||||||
```
|
```
|
||||||
@ -138,8 +138,9 @@ Page:
|
|||||||
title: true
|
title: true
|
||||||
content: true
|
content: true
|
||||||
update:
|
update:
|
||||||
exclude:
|
fields:
|
||||||
sensitiveField: true
|
'*': true
|
||||||
|
sensitiveField: false
|
||||||
```
|
```
|
||||||
|
|
||||||
### Adding more fields
|
### Adding more fields
|
||||||
|
Loading…
x
Reference in New Issue
Block a user