graphql-engine/v3/lang-graphql/tests/testdata/unions_parsing.graphql
Manas Agarwal e27e5b7ffe v3: open-source hasura v3 engine
Hasura V3 Engine v3.alpha.12-19-2023
V3-GitOrigin-RevId: 6605575a52b347b5e9a14ecd1cc736f113c663b3

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10567
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 38c98a4b1971efe3ac724c2371c43ceb7d31f140
2023-12-19 09:05:39 +00:00

19 lines
290 B
GraphQL

# Disabled as currently, we don't parse directives successfully
"Empty union"
union Foo
"One member union"
union Foo = Bar
"One member union with leading |"
union Foo = | Bar
"Multi member union"
union Foo = Bar | Baz
"Union with directives"
union Foo
@foo(bar: 1)
= Bar | Baz