We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e1c20 commit a2911a4Copy full SHA for a2911a4
transforms/setters/api.graphql
@@ -33,9 +33,9 @@ type Query {
33
34
# mapping from JSON response values to the fields of the GraphQL result.
35
setters: [
36
- { field: "cId", path: "id" } # cId mapped to 'id'
37
- { field: "cName", path: "name" } # cName mapped to 'name'
38
- { field: "cAddress", path: "address" } # cAddress mapped to 'address'
+ { field: "cId", path: "id" } # JSON response field 'id' is mapped to GraphQL 'cId'
+ { field: "cName", path: "name" } # JSON response field 'name' is mapped to GraphQL 'cName'
+ { field: "cAddress", path: "address" } # JSON response field 'address' mapped to GraphQL 'cAddress'
39
]
40
)
41
}
0 commit comments