Skip to content

Commit 2ab7f5f

Browse files
authored
Rename Links self field to match tiled API (#10)
1 parent 44eaef7 commit 2ab7f5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/schemas/tiled_metadata.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub struct Metadata {
1515
#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize, SimpleObject)]
1616
pub struct Links {
1717
#[serde(rename = "self")]
18+
#[graphql(name = "self")]
1819
pub self_field: String,
1920
pub documentation: String,
2021
}

0 commit comments

Comments
 (0)