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

17 lines
889 B
Text
Raw Permalink Normal View History

error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied
2023-11-16 14:00:53 -06:00
--> fail/union/enum_non_object_variant.rs:11:10
|
11 | Test(Test),
| ^^^^ the trait `GraphQLObject<__S>` is not implemented for `Test`
|
= help: the following other types implement trait `GraphQLObject<S>`:
2024-09-09 07:50:37 -05:00
`&T` implements `GraphQLObject<S>`
`Arc<T>` implements `GraphQLObject<S>`
`Argument<'a, S>` implements `GraphQLObject<S>`
`Box<T>` implements `GraphQLObject<S>`
`EnumValue` implements `GraphQLObject<__S>`
`SchemaType<'a, S>` implements `GraphQLObject<S>`
`juniper::meta::Field<'a, S>` implements `GraphQLObject<S>`
`juniper::schema::model::DirectiveType<'a, S>` implements `GraphQLObject<S>`
`juniper::schema::model::TypeType<'a, S>` implements `GraphQLObject<S>`