graphql-engine/server/tests-py/queries/graphql_query/enums/select_enum_field.yaml
Alexis King ed26da59a6 Add support for GraphQL enum types via enum table references
These changes also add a new type, PGColumnType, between PGColInfo and
PGScalarType, and they process PGRawColumnType values into PGColumnType
values during schema cache generation.
2019-08-26 00:54:56 -05:00

19 lines
299 B
YAML

description: Test querying a table that references an enum table
url: /v1/graphql
status: 200
response:
data:
users:
- name: Alyssa
favorite_color: red
- name: Ben
favorite_color: blue
query:
query: |
{
users {
name
favorite_color
}
}