juniper/tests/codegen/fail/union/struct_no_fields.stderr

7 lines
197 B
Text
Raw Normal View History

error: GraphQL union expects at least one union variant
· note: https://spec.graphql.org/October2021#sec-Unions
--> fail/union/struct_no_fields.rs:4:1
|
4 | struct Character;
| ^^^^^^