-
I'm currently working with a server that utilizes the bytea type in its GraphQL schema. However, when I attempt to fetch data using queries and utilize the "tada" library to generate TypeScript runtime types, I encounter an issue where the bytea type is not properly handled, resulting in a never type being returned. In order to address this issue, I'm seeking a solution to create a custom alias for the bytea type in TypeScript. Can you provide guidance on how to create such a custom alias and integrate it effectively with the types generated by "tada"? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Are you maybe looking for this docs section? https://gql-tada.0no.co/get-started/installation#customizing-scalar-types |
Beta Was this translation helpful? Give feedback.
Are you maybe looking for this docs section? https://gql-tada.0no.co/get-started/installation#customizing-scalar-types