juniper/tests/codegen/fail/interface/struct/attr_fields_duplicate.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

12 lines
319 B
Text

error: GraphQL interface must have a different name for each field
--> fail/interface/struct/attr_fields_duplicate.rs:4:1
|
4 | / struct Character {
5 | | id: String,
6 | |
7 | | #[graphql(name = "id")]
8 | | id2: String,
9 | | }
| |_^
|
= note: https://spec.graphql.org/October2021#sec-Interfaces