Closed justraman closed 1 year ago
Hey @eldargab , I see your point. I just checked the Hasura and Postgraphile as mentioned
orderByNullsLast: true
Which one would you prefer?
Can we agree on
query {
list(orderBy: [foo_DESC_NULLS_LAST, bar_DESC, baz_ASC_NULLS_FIRST, qux_ASC]) {
foo
bar
}
}
?
To elaborate:
With the flag option it is possible to have 2 similarly looking servers behaving completely differently. Also that approach is not flexible.
That leaves us with the need to extend the interface...
Absolutely!, I will work on it this week.
Great!
The very brief implementation guide will be
@eldargab it's ready for review, i tried and tested locally.
Hey, this is a breaking change and it's non-obvious that it is always what users want!
I'm not against CLI flag enabling such behaviour, also would be nice to know how Hasura and postgraphile behave...