tql
tql copied to clipboard
A GraphQL query builder for TypeScript. Avoid the pain of codegen.
Follow the [`@prisma/client` approach](https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/generating-prisma-client#the-prismaclient-npm-package) as it is a nice DX. We could expose this as a codegen option w/this being the default (to generate to a non-default location we could...
Maybe this is changed with the new RC, but I was wondering if it's possible to make fields getters instead of function calls? Atm I have this: ```ts query('', (t)...
Add an `upgrade` command to update a natively installed binary in-place.
Example: ```bash curl -fsSL https://tql.dev/install | bash ```
We should type alias (ex. `type DateTime = string`) custom scalars that do not have native JS equivalents to `string`'s (eventually we could support the providing of custom serde functions...
Consumers of the library should have programmatic access to our codegen API.
See if we can do some integration with graphql-nexus and typegraphql.
- ["Untitled Sans"](https://klim.co.nz/retail-fonts/untitled-sans/) looks like a nice font - Example sites ([Stitches](https://github.com/modulz/stitches-site), [Railway](https://github.com/railwayapp/docs)) - For documentation [Stripe's](https://stripe.com/blog/markdoc) [markdoc](https://github.com/markdoc/markdoc) looks nice
We should make this library and the code this library generates compatible with Deno. Note: this may be useful https://github.com/bevry/make-deno-edition
If no variables on a field are required we shouldn't require a variable argument in the selector function (i.e need to define overloaded functions).