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

feat(build): support boxing fields #1252

Merged
merged 2 commits into from Apr 14, 2023
Merged

Conversation

krallin
Copy link
Contributor

@krallin krallin commented Jan 25, 2023

Motivation

This exposes tokio-rs/prost#802 in Tonic, though obviously until that's merged and released this diff does nothing.

This allows the user to request boxing of specific fields. This is useful for enum types that might have variants of very different size.

Solution

Expose the method

This exposes tokio-rs/prost#802 in Tonic,
though obviously until that's merged and released this diff does
nothing.
@krallin
Copy link
Contributor Author

krallin commented Apr 13, 2023

The underlying prost-build PR was merged; Any chance we can get this one merged as well? :)

@LucioFranco
Copy link
Member

yup sorry for the delay, IRL has kept me busy

@LucioFranco LucioFranco added this pull request to the merge queue Apr 14, 2023
@LucioFranco LucioFranco changed the title tonic-build: support boxing fields feat(build): support boxing fields Apr 14, 2023
@LucioFranco LucioFranco removed this pull request from the merge queue due to a manual request Apr 14, 2023
@LucioFranco LucioFranco added this pull request to the merge queue Apr 14, 2023
Merged via the queue into hyperium:master with commit 65d909e Apr 14, 2023
12 checks passed
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.

None yet

2 participants