juniper/integration_tests/codegen_fail/fail/union/derive_wrong_item.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

5 lines
150 B
Text

error: GraphQL union can only be derived for enums and structs
--> fail/union/derive_wrong_item.rs:4:1
|
4 | union Character { id: i32 }
| ^^^^^