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

Make sure to only allow codegen when the rest of the code compiles #8169

Merged
merged 1 commit into from
May 21, 2021

Conversation

systay
Copy link
Collaborator

@systay systay commented May 21, 2021

Description

During code generation, we were not checking if the loaded packages contained any errors.
We should only use the input packages if they can load without errors

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay requested a review from vmg May 21, 2021 14:02
@systay systay added Component: Build/CI Type: Enhancement Logical improvement (somewhere between a bug and feature) labels May 21, 2021
@harshit-gangal harshit-gangal merged commit 7e7a571 into vitessio:master May 21, 2021
@harshit-gangal harshit-gangal deleted the systay-codegen-safe branch May 21, 2021 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Build/CI Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants