Dapper.GraphQL icon indicating copy to clipboard operation
Dapper.GraphQL copied to clipboard

Operator support via Arguments

Open narbit opened this issue 6 years ago • 0 comments

I know this topic is not popular with GraphQL community for a set of valid reasons. Nevertheless, there is definitely a demand for this functionality for applications that are DB driven. If we don't have a semi-built-in way of dealing with operators, every person writing resolvers that eventually translate into SQL statements will have to roll their own. Should this be a part of this library similar to EF-backed one?

I go back and forth on the whole idea. There is definitely performance implications around querying DB in an uncontrolled way with potentially multiple nested comparison statements. But I struggle to find an alternative for the advanced filtering that would be both, safe and performant.

narbit avatar Mar 14 '19 19:03 narbit