This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
Support importing generated code from @timkendall/tql
#101
Labels
@timkendall/tql
#101
Follow the
@prisma/client
approach 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 take a
--output
flag).(Possible) Default Workflow
yarn install @timkendall/tql
.graphqlconfig
orapollo.config.js
to discover schema and runs codegennode_modules/@timkendall/tql/.tql/client
import { query, } from '@timkendall/tql'
(Possible) Custom Workflow (for users who are using tql to generate published SDKs or need more control)
yarn install @timkendall/tql
yarn tql <schema> > sdk.ts
ORyarn tql <schema> --sdk
(interactive prompt?)The text was updated successfully, but these errors were encountered: