juniper/integration_tests/codegen_fail/fail/union/trait_no_fields.stderr
Kai Ren 46be97ada4
Refactor FromInputValue to return Result instead of Option (#987)
- propagate `FromInputValue` conversion errors during validation
- replace panics with errors during resolving

Co-authored-by: ilslv <ilya.solovyiov@gmail.com>
2021-12-14 19:30:27 +02:00

8 lines
190 B
Text

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