fix: Syntax for declaring enums in YML

Similar issue to #10223
This commit is contained in:
Roman Schmid 2022-06-27 16:23:26 +02:00 committed by GitHub
parent c80e10f892
commit fbee03562b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -417,9 +417,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)