a684e1d91c
- add associated type to IntoResolvable and IntoFieldResult traits allowing to name the GraphQLType being resolved - relax Sized requirement on some IsInputType and IsOutputType impls
39 lines
2 KiB
Text
39 lines
2 KiB
Text
error[E0277]: the trait bound `ObjectA: juniper::marker::IsInputType<__S>` is not satisfied
|
|
--> $DIR/derive_incompatible_object.rs:6:10
|
|
|
|
|
6 | #[derive(juniper::GraphQLInputObject)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::marker::IsInputType<__S>` is not implemented for `ObjectA`
|
|
|
|
|
= note: required by `juniper::marker::IsInputType::mark`
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `ObjectA: juniper::FromInputValue<__S>` is not satisfied
|
|
--> $DIR/derive_incompatible_object.rs:6:10
|
|
|
|
|
6 | #[derive(juniper::GraphQLInputObject)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::FromInputValue<__S>` is not implemented for `ObjectA`
|
|
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `ObjectA: juniper::FromInputValue<__S>` is not satisfied
|
|
--> $DIR/derive_incompatible_object.rs:6:10
|
|
|
|
|
6 | #[derive(juniper::GraphQLInputObject)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `juniper::FromInputValue<__S>` is not implemented for `ObjectA`
|
|
|
|
|
= note: required by `juniper::FromInputValue::from_input_value`
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0599]: no method named `to_input_value` found for struct `ObjectA` in the current scope
|
|
--> $DIR/derive_incompatible_object.rs:6:10
|
|
|
|
|
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:
|
|
candidate #1: `juniper::ToInputValue`
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|