clark
04/12/2022, 6:56 PMmbonnin
04/13/2022, 8:43 AMclark
04/13/2022, 1:01 PMgraphql-codegen
on our server. The typescript plugin provides a config option called typesPrefix
and it will prepend whatever string you give it to each of the generated types.
We use it so that the model names from our ORM don't conflict with the names from graphql-codegen
. All of our graphql types have the prefix GQL
.mbonnin
04/13/2022, 1:24 PM