Skip to content

Conversation

@Gobot1234
Copy link
Collaborator

Does a bit of work over #170 to make generated code more consistent with betterproto.ServiceStub

@nat-n
Copy link
Collaborator

nat-n commented Jan 24, 2021

I'm sorry to say so but I don't think this change is desirable, because it will make it harder (that is an even more breaking change) to allow grpclib to be an optional dependency.

The reason this is an issue is that currently most of the weight of betterproto (in terms of memory usage and import time) is due to the root package depending on grpclib. This is unfortunate given that many users don't benefit from this dependency.

@nat-n nat-n closed this Jan 24, 2021
@Gobot1234
Copy link
Collaborator Author

Makes sense, but from what I can remember the import is put in by default, so I'll have to have update the template to fix this I would assume?

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