Replies: 1 comment
-
Nobody with similar problems? @dotansimha |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying a configure an enterprise monorepo and multi-package Typescript project that use graphql-code-generator. My (simplified) project structure is the following:
What we would like to achieve is simply to generate all types related to models in the core package, where we'll also develop the data access layer and some logics, and to generate resolvers and only inputs and operation related types in the api package.
My problem is substantially that I need to add typedefs from the core package in the api codegen (because queries and mutations relies on them), but I would not like to to generate them in the api package, because it already picks them from its dependency to the core package.
Any idea about this? Someone with the same problem?
Beta Was this translation helpful? Give feedback.
All reactions