juniper/tests/codegen/fail/union/trait_wrong_method_input_args.stderr
ilslv a32140cd46
Update all links to October 2021 spec (#1075, #1000)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 15:32:08 +00:00

7 lines
311 B
Text

error: GraphQL union expects trait method to accept `&self` only and, optionally, `&Context`
--> fail/union/trait_wrong_method_input_args.rs:5:10
|
5 | fn a(&self, ctx: &(), rand: u8) -> Option<&Human>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: https://spec.graphql.org/October2021#sec-Unions