juniper/tests/codegen/fail/interface/trait/fields_duplicate.stderr
Kai Ren 72ed45a77c
Rework CI and project toolchain (#1043)
- remove `cargo-make` integration
- rework CI pipeline more granular and precise
- rework releasing process
- tune up project layout
- fill up new CHANGELOGs

Additionally:
- fix latest nightly/stable Rust inconsistencies
2022-04-08 17:44:50 +03:00

12 lines
330 B
Text

error: GraphQL interface must have a different name for each field
--> fail/interface/trait/fields_duplicate.rs:4:1
|
4 | / trait Character {
5 | | fn id(&self) -> &str;
6 | |
7 | | #[graphql(name = "id")]
8 | | fn id2(&self) -> &str;
9 | | }
| |_^
|
= note: https://spec.graphql.org/June2018/#sec-Interfaces