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

Add wellknownimports package, for providing actual source code for the standard imports #310

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

jhump
Copy link
Member

@jhump jhump commented May 30, 2024

This addresses the last bullet mentioned in #309 -- it provides a resolver for source code of the standard imports. It's in a separate package so users that don't import it don't pay any cost of the embedded source files.

This allows the compiler to make use of the extension declarations added to descriptor.proto in v27.0.

@jhump jhump force-pushed the jh/wellknownimports branch from 55af3d5 to e01bb2d Compare May 30, 2024 13:18
Base automatically changed from jh/feature-support-in-enum-vals to main May 30, 2024 22:25
@jhump jhump force-pushed the jh/wellknownimports branch from e01bb2d to f8a8f67 Compare May 30, 2024 22:26
@jhump jhump marked this pull request as ready for review May 30, 2024 22:26
@jhump jhump requested a review from emcfarlane May 30, 2024 22:26
@jhump jhump force-pushed the jh/wellknownimports branch from f8a8f67 to 8265cba Compare June 4, 2024 13:15
@jhump
Copy link
Member Author

jhump commented Jun 4, 2024

ping @emcfarlane

@jhump jhump merged commit 16a0337 into main Jun 4, 2024
8 checks passed
@jhump jhump deleted the jh/wellknownimports branch June 4, 2024 14:16
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