Rename GraphQL fields with aliases

Rename fields in responses, and request the same field with different arguments as new fields with GraphQL aliases.

Notes

1{
2 cart(id: "my-cart-id") {
3 count: totalItems
4 products: items {
5 title: name
6 created: createdAt
7 }
8 }
9
10 cart2: cart(id: "abc") {
11 id
12 totalItems
13 }
14}
15
1mutation {
2 addToCart: addItem(input: {
3 cartId: "my-cart-id",
4 id: "my-item-id",
5 name: "GraphQL Stickers",
6 price: 1000
7 }) {
8 id
9 items {
10 title: name
11 lineTotal {
12 amount
13 formatted
14 }
15 }
16 }
17}
18