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

Remove out modifiers from the generic parameters of codegen-runtime interfaces #53

Merged
merged 3 commits into from
Oct 12, 2024

Conversation

Oleg-Melnik
Copy link
Contributor

@Oleg-Melnik Oleg-Melnik commented Oct 11, 2024

This PR removes out modifiers from the generic parameters of MessageOneof and MessageDef interfaces.

Otherwise, it leads to unnecessary type casts. See this issue for detail.

@Oleg-Melnik Oleg-Melnik changed the title Remove out modifier from MessageOneof generic parameters Remove out modifiers from codegen-runtime interfaces Oct 11, 2024
@Oleg-Melnik Oleg-Melnik changed the title Remove out modifiers from codegen-runtime interfaces Remove out modifiers from the generic parameters of codegen-runtime interfaces Oct 11, 2024
@Oleg-Melnik Oleg-Melnik marked this pull request as ready for review October 11, 2024 18:05
@Oleg-Melnik Oleg-Melnik merged commit f421aeb into master Oct 12, 2024
5 checks passed
@Oleg-Melnik Oleg-Melnik deleted the update_codegen_plugins branch October 12, 2024 13:27
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.

Codegen Runtime: see if out should be removed from MessageField<T, out MessageFieldValue> return values
2 participants