Open vladinator1000 opened 2 years ago
Thank you for the suggestion. I hadn't considered raw queries but I'd like to add support for that now that you mention it. Do you have an idea of what you would expect that API to look like for raw queries (or any other special operations prefixed by the $ sign)? Would $queryRawUnsafe
and $executeRawUnsafe
be sufficient? Those would be the easiest to serialize as they are just raw strings.
I think those would be perfect. ❤️
Hi there, I'm a big fan of your work, it enables a nice local development experience for serverless environments like Cloudflare Workers. I'm actually using it for an open-source template: https://github.com/vladinator1000/cloudflare-workers-ts-graphql
I noticed there is a lack of support of raw queries, anything starting with
$
. Is there a way we can add that? It would be nice to have an escape hatch to use raw queries whenever you want to do something niche.