2021-08-11 17:41:49 +03:00
|
|
|
error: GraphQL object must have a different name for each field
|
2021-12-14 19:30:27 +02:00
|
|
|
--> fail/object/derive_fields_duplicate.rs:4:1
|
|
|
|
|
|
2021-12-20 15:50:49 +03:00
|
|
|
4 | / struct ObjA {
|
|
|
|
5 | | id: String,
|
|
|
|
6 | | #[graphql(name = "id")]
|
|
|
|
7 | | id2: String,
|
|
|
|
8 | | }
|
|
|
|
| |_^
|
|
|
|
|
|
2022-06-28 18:32:08 +03:00
|
|
|
= note: https://spec.graphql.org/October2021#sec-Objects
|