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: sync stub references for each build group #2039

Merged
merged 1 commit into from
Jul 11, 2024
Merged

Conversation

wesbillman
Copy link
Collaborator

This PR modifies the build engine to generate stubs for all known schemas at build time. After a build group is built, we then sync the stub references to help users get auto completions and imports in their IDEs or text editors.

It essentially changes the way we gather schemas for the module(s) we're building.

In go syncing the stub references means that we update the go.work file for each built module to include ALL shared module stubs. This helps when a module is adding a shared module as a dependency.

@wesbillman wesbillman requested a review from alecthomas as a code owner July 10, 2024 21:09
@wesbillman wesbillman requested review from a team and deniseli and removed request for a team July 10, 2024 21:09
@ftl-robot ftl-robot mentioned this pull request Jul 10, 2024
@wesbillman wesbillman force-pushed the sync-stub-references branch from df8c08e to fb8b9c2 Compare July 10, 2024 21:10
Copy link
Contributor

@worstell worstell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yayyyyyyyy

@wesbillman wesbillman merged commit ff9a968 into main Jul 11, 2024
50 checks passed
@wesbillman wesbillman deleted the sync-stub-references branch July 11, 2024 00:13
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