juniper/integration_tests/codegen_fail/fail/interface/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

20 lines
547 B
Text

error: GraphQL interface must have at least one field
= note: https://spec.graphql.org/June2018/#sec-Interfaces
--> $DIR/no_fields.rs:13:1
|
13 | trait Character {}
| ^^^^^
error[E0412]: cannot find type `CharacterValue` in this scope
--> $DIR/no_fields.rs:4:18
|
4 | #[graphql(impl = CharacterValue)]
| ^^^^^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Character` in this scope
--> $DIR/no_fields.rs:10:6
|
10 | impl Character for ObjA {}
| ^^^^^^^^^ not found in this scope