π Bug Report: Graphql schema generation fails due to missing services dependencies
overbit opened this issue Β· comments
What happened?
Running nx run amplication-server:"graphql:schema:generate" --skip-nx-cache
without all the dependencies running (like Kafka) results in a failure.
As currently, the gql schema generation leverage the side effect of initializing the nest application to work, that will behave as the real application with all its needs.
This should not happen as it is not scalable to have all the dependencies like kafka running in order to just generate a gql schema.
What you expected to happen
This should not happen as it is not scalable to have all the dependencies like kafka running in order to just generate a gql schema.
How to reproduce
run nx run amplication-server:"graphql:schema:generate" --skip-nx-cache
without Docker running
Amplication version
No response
Environment
No response
Are you willing to submit PR?
No response