2020-09-10 09:15:51 -05:00
|
|
|
error[E0277]: the trait bound `ObjectA: IsInputType<__S>` is not satisfied
|
2022-04-01 13:10:45 -05:00
|
|
|
--> fail/input-object/derive_incompatible_object.rs:8:12
|
2021-12-20 06:50:49 -06:00
|
|
|
|
|
2022-04-01 13:10:45 -05:00
|
|
|
8 | field: ObjectA,
|
|
|
|
| ^^^^^^^ the trait `IsInputType<__S>` is not implemented for `ObjectA`
|
2022-04-08 09:44:50 -05:00
|
|
|
|
|
|
|
|
= help: the following other types implement trait `IsInputType<S>`:
|
|
|
|
<&T as IsInputType<S>>
|
|
|
|
<Arc<T> as IsInputType<S>>
|
|
|
|
<Box<T> as IsInputType<S>>
|
|
|
|
<ID as IsInputType<__S>>
|
|
|
|
<Object as IsInputType<__S>>
|
|
|
|
<TypeKind as IsInputType<__S>>
|
|
|
|
<Vec<T> as IsInputType<S>>
|
|
|
|
<[T; N] as IsInputType<S>>
|
|
|
|
and 13 others
|
2021-12-20 06:50:49 -06:00
|
|
|
|
|
|
|
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
|
|
|
|
--> fail/input-object/derive_incompatible_object.rs:6:10
|
|
|
|
|
|
|
|
|
6 | #[derive(juniper::GraphQLInputObject)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
|
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
= help: the following other types implement trait `FromInputValue<S>`:
|
|
|
|
<Arc<T> as FromInputValue<S>>
|
|
|
|
<Box<T> as FromInputValue<S>>
|
|
|
|
<ID as FromInputValue<__S>>
|
|
|
|
<Object as FromInputValue<__S>>
|
|
|
|
<TypeKind as FromInputValue<__S>>
|
|
|
|
<Vec<T> as FromInputValue<S>>
|
|
|
|
<[T; N] as FromInputValue<S>>
|
|
|
|
<bool as FromInputValue<__S>>
|
|
|
|
and 10 others
|
2021-12-20 06:50:49 -06:00
|
|
|
note: required by a bound in `Registry::<'r, S>::arg`
|
|
|
|
--> $WORKSPACE/juniper/src/executor/mod.rs
|
|
|
|
|
|
|
|
|
| T: GraphQLType<S> + FromInputValue<S>,
|
|
|
|
| ^^^^^^^^^^^^^^^^^ required by this bound in `Registry::<'r, S>::arg`
|
|
|
|
= note: this error originates in the derive macro `juniper::GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-09-02 14:48:54 -05:00
|
|
|
|
2020-09-10 09:15:51 -05:00
|
|
|
error[E0277]: the trait bound `ObjectA: FromInputValue<__S>` is not satisfied
|
2021-12-14 11:30:27 -06:00
|
|
|
--> fail/input-object/derive_incompatible_object.rs:6:10
|
2020-05-01 21:24:01 -05:00
|
|
|
|
|
|
|
|
6 | #[derive(juniper::GraphQLInputObject)]
|
2020-09-10 09:15:51 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromInputValue<__S>` is not implemented for `ObjectA`
|
2020-05-01 21:24:01 -05:00
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
= help: the following other types implement trait `FromInputValue<S>`:
|
|
|
|
<Arc<T> as FromInputValue<S>>
|
|
|
|
<Box<T> as FromInputValue<S>>
|
|
|
|
<ID as FromInputValue<__S>>
|
|
|
|
<Object as FromInputValue<__S>>
|
|
|
|
<TypeKind as FromInputValue<__S>>
|
|
|
|
<Vec<T> as FromInputValue<S>>
|
|
|
|
<[T; N] as FromInputValue<S>>
|
|
|
|
<bool as FromInputValue<__S>>
|
|
|
|
and 10 others
|
2021-06-06 17:57:14 -05:00
|
|
|
= note: this error originates in the derive macro `juniper::GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-05-01 21:24:01 -05:00
|
|
|
|
|
|
|
error[E0599]: no method named `to_input_value` found for struct `ObjectA` in the current scope
|
2021-12-14 11:30:27 -06:00
|
|
|
--> fail/input-object/derive_incompatible_object.rs:6:10
|
2020-05-01 21:24:01 -05:00
|
|
|
|
|
|
|
|
2 | struct ObjectA {
|
|
|
|
| -------------- method `to_input_value` not found for this
|
|
|
|
...
|
|
|
|
6 | #[derive(juniper::GraphQLInputObject)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ObjectA`
|
|
|
|
|
|
|
|
|
= help: items from traits can only be used if the trait is implemented and in scope
|
|
|
|
= note: the following trait defines an item `to_input_value`, perhaps you need to implement it:
|
2020-09-10 09:15:51 -05:00
|
|
|
candidate #1: `ToInputValue`
|
2021-06-06 17:57:14 -05:00
|
|
|
= note: this error originates in the derive macro `juniper::GraphQLInputObject` (in Nightly builds, run with -Z macro-backtrace for more info)
|