amplication / amplication

πŸ”₯πŸ”₯πŸ”₯ Open-source backend development platform. Build production-ready services without wasting time on repetitive coding.

Home Page:https://amplication.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› 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