3 ms·
I don't think IQueryable is very composable. It goes bit beyond simple query builder because it can automatically translate for you more expressive queries int
by scotty79 11y ago
I don't think IQueryable is very composable.
It goes bit beyond simple query builder because it can automatically translate for you more expressive queries into SQL (http://www.infoq.com/presentations/theory-language-integrated-query http://www.infoq.com/presentations/theory-language-integrate... ) But I don't think people could define parts of IQueryable in .ascx files and compose it into single IQueryable result of which feeds the components. That's the main idea of graphql.
- hokkos 11y agoGraphQL is "structurally typed" where IQueryable is nominally typed by its generic argument. This make GraphQL more easily composable, but IQueryable is still composable with functions.