Comment by mirekrusin
Comment by mirekrusin 2 days ago
Except you can't have ie. union as argument, which means you can't construct ie. SQL/MongoDB-like where clauses.
Comment by mirekrusin 2 days ago
Except you can't have ie. union as argument, which means you can't construct ie. SQL/MongoDB-like where clauses.
This is a genuinely accurate critique of GraphQL. We're missing some extremely table-stakes things, like generics, discriminated unions in inputs (and in particular, discriminated unions you can discriminate and use later in the query as one of the variants), closed unions, etc.