Closed
Description
I like concept of aliases very much because they allow to abstract components from request, which is especially useful when backend is agnostic about specific client implementation or under heavy development
But there is another aspect of client-server data structure controversy: nesting
To make client even more independent from server schema implementation I propose these enhancements:
To get a deeply nested value
node {
alias: subnode.subnode.field
}
To put some values from the node under an alias
node {
nodeField1
nodeField2
alias: {
nodeField3
nodeField4
}
}
This would allow to quickly reshape queried data in declarative way while keeping the query concise and obvious
Metadata
Metadata
Assignees
Labels
No labels