You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
Ah I did not know that, thanks for the heads up. Yeah may not be the best idea to do something non-standard like that (though the developer experience is fairly nice).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: