We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I know currently we have the option to extend generated classes with custom super classes/traits:
message MyMessage { option (scalapb.message).extends = "MySuperClass"; int32 dummy = 999; }
However, I often find myself wanting to extend generated companion objects with custom super classes/traits, maybe something like that will help:
message MyMessage { option (scalapb.message).extends = "MySuperClass"; option (scalapb.message).companion_extends = "MySuperCompanionClass"; int32 dummy = 999; }
Please let me know if this would align with your roadmap. I'm happy to submit a PR. Thanks.
The text was updated successfully, but these errors were encountered:
Yes, PR for this will be welcome.
Sorry, something went wrong.
Add companion_extends
b52e9fd
Fix scalapb#105.
Documentation for #105.
2ed753f
Successfully merging a pull request may close this issue.
I know currently we have the option to extend generated classes with custom super classes/traits:
However, I often find myself wanting to extend generated companion objects with custom super classes/traits, maybe something like that will help:
Please let me know if this would align with your roadmap. I'm happy to submit a PR. Thanks.
The text was updated successfully, but these errors were encountered: