You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0308]: mismatched types
--> src/main.rs:4:10
|
4 | #[derive(cynic::QueryFragment)]
| ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `ObjectArgumentBuilder<'_, Args, ()>`
|
= note: expected unit type `()`
found struct `queries::builders::ObjectArgumentBuilder<'_, schema::Args, ()>`
= note: this error originates in the derive macro `cynic::QueryFragment` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0308`.
error: could not compile `idk` (bin "idk") due to previous error
Removing the arguments attribute allows the compilation to succeed.
The text was updated successfully, but these errors were encountered:
schema.graphql:
main.rs:
Compiler output:
Removing the
arguments
attribute allows the compilation to succeed.The text was updated successfully, but these errors were encountered: