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

fix: ensure generated type linting occurs on server changes #2629

Merged
merged 13 commits into from
Jan 31, 2024

Conversation

chris-dickson
Copy link
Contributor

Previously, the generated type linting was occuring with in the client linting step. Since this only happens when a file is changed in the packages/client/** path, it was possible to modify a server file, have the branch build pass only to fail in main.

This PR ensures that branch builds will fail that modify a @TSModel annotated entity in Java and do not update the Types.ts file.

@chris-dickson chris-dickson marked this pull request as ready for review January 30, 2024 21:44
@chris-dickson chris-dickson requested a review from Nithos January 30, 2024 21:44
@chris-dickson chris-dickson requested a review from Nithos January 31, 2024 01:57
@chris-dickson chris-dickson merged commit 265f7b9 into main Jan 31, 2024
5 checks passed
@chris-dickson chris-dickson deleted the ensure_type_linting_is_run_always branch January 31, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants