Tommy D. Rossi

Results 207 comments of Tommy D. Rossi

This is a known issue caused by TypeScript generics, Genql uses the extends syntax which allows additional keys

Genql is not built for this use case, it's better if you use the previous types generator for this

I will do more research on this

Adding the extensions field would require a breaking change because Genql currently only returns the data, i will keep in mind for the next breaking release, but for now i...

This looks like a problem with Remix very complex typescript type, i would just do this to fix the issue ```tsx export const loader = async (_args: LoaderArgs) => {...

that's a limitation of union types, given that the query could return any of the types of the union, the selection will just be `X | Y`, where X and...

This is maybe possible but it’s too complex, I would need to use the new TypeScript template literal types and recursive types I will keep this issue open in case...

Yes please open an issue with a small reproduction

This will be possible if directives support is added, but only at the field level (need to add the directive on each field)

Use this plugin instead https://github.com/cyco130/esbuild-plugin-polyfill-node