mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10371 from bummzack/patch-2
fix: Syntax for declaring enums in YML
This commit is contained in:
commit
8d698067a6
@ -415,9 +415,10 @@ configuration layer.
|
||||
**app/_graphql/enums.yml**
|
||||
```yaml
|
||||
Status:
|
||||
SHIPPED: Shipped
|
||||
CANCELLED: Cancelled
|
||||
PENDING: Pending
|
||||
values:
|
||||
SHIPPED: Shipped
|
||||
CANCELLED: Cancelled
|
||||
PENDING: Pending
|
||||
```
|
||||
|
||||
See the [Enums, unions, and interfaces](/developer_guides/graphql/working_with_generic_types/enums_unions_and_interfaces/#enum-types)
|
||||
|
Loading…
Reference in New Issue
Block a user