graphql
graphql copied to clipboard
Node order
how can I achieve this:
{
client(id: "141") {
email
user {
id
name
}
company_name
}
}
Everything I have tried keeps putting user at the end. As in
{
client(id: "141") {
email
company_name
user {
id
name
}
}
}
Actually, the order of fields in GraphQL queries should not affect anything, so it's not significant to keep them ordered.
And even if we try to implement keeping the order, it will overcomplicate the interface, because we should provide functions to insert new fields at the start, end, in between, etc.
So, I think, this is not a feature that we should support.