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

7 lines
205 B
Text

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