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

17 lines
799 B
Text
Raw Normal View History

error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied
2023-09-07 04:42:10 -05: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>`:
<Box<T> as GraphQLObject<S>>
<juniper::meta::Field<'a, S> as GraphQLObject<S>>
<Argument<'a, S> as GraphQLObject<S>>
<EnumValue as GraphQLObject<__S>>
<SchemaType<'a, S> as GraphQLObject<S>>
<juniper::schema::model::TypeType<'a, S> as GraphQLObject<S>>
<juniper::schema::model::DirectiveType<'a, S> as GraphQLObject<S>>
<Arc<T> as GraphQLObject<S>>
<&T as GraphQLObject<S>>