juniper/integration_tests/codegen_fail/fail/union/enum_no_fields.stderr

7 lines
196 B
Text

error: GraphQL union expects at least one union variant
--> $DIR/enum_no_fields.rs:4:1
|
4 | enum Character {}
| ^^^^^^^^^^^^^^^^^
|
= note: https://spec.graphql.org/June2018/#sec-Unions