Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: Graphql schema generation fails due to missing services dependencies #8329

Open
overbit opened this issue Apr 19, 2024 · 0 comments 路 Fixed by #8330
Open
Assignees
Labels
type: bug Something isn't working

Comments

@overbit
Copy link
Contributor

overbit commented Apr 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant