test for uppercasing aliases

This commit is contained in:
Ben Kraft
2021-04-15 15:50:22 -07:00
parent 1bd7f7cb16
commit ade01c9280
3 changed files with 10 additions and 3 deletions
+3 -1
View File
@@ -12,7 +12,8 @@ type QueryWithAliasResponse struct {
}
type QueryWithAliasUser struct {
ID mypkg.ID `json:"ID"`
ID mypkg.ID `json:"ID"`
OtherID mypkg.ID `json:"otherID"`
}
func QueryWithAlias(
@@ -26,6 +27,7 @@ func QueryWithAlias(
query QueryWithAlias {
User: user {
ID: id
otherID: id
}
}
`,