remorses / genql

Type safe TypeScript client for any GraphQL API
https://genql.dev
MIT License
881 stars 37 forks source link

Escape hatch for untyped queries? #139

Open sampbarrow opened 1 year ago

sampbarrow commented 1 year ago

Would it be possible to add some kind of escape hatch? I'm using typed queries in most of my app but there are 1 or 2 instances where I need to send in a dynamic query as a string.

I think just making the "fetcher" object in createClient available on the client would do it.