Set declarationKind and useImplementingTypes on client preset #9342
Replies: 1 comment
-
I don't think this is currently supported (at least not for Vue, which I am using: https://the-guild.dev/graphql/codegen/docs/guides/react-vue#config-api ) . I desperately would like this functionality too; I now have to write very awkward code, seeing as the types that are generated are simply not compatible with calls to Typescript stuff such as This is actually supported when not using a client-preset (as per, for example: https://stackoverflow.com/a/64322143 ) .. and it's painful to be lacking this. I seriously don't see why anyone would want to use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to switch to interfaces and use implementing types with the client preset. I tried passing options like this, it didn't work,
How do I set this?
Beta Was this translation helpful? Give feedback.
All reactions