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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove generated files from Git #112

Open
XanderVertegaal opened this issue Aug 14, 2024 · 0 comments
Open

Remove generated files from Git #112

XanderVertegaal opened this issue Aug 14, 2024 · 0 comments
Assignees

Comments

@XanderVertegaal
Copy link
Contributor

As per #105 we currently check in the GraphQL schema and generated types, rendering diffs on PRs less insightful.

The DIAPP recently ran into the same issue of not being able to build a frontend code generation needs a running backend server. @tymees found a solution that we can use as well: https://github.com/CentreForDigitalHumanities/DIAPP/pull/267

It involves generating a static schema with python manage.py graphql_schema and using that as the basis for codegen. No need to run a backend dev server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant