You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow the gRPC module name to be customised when generating code
Motivation:
Some Cocoapods may find themselves in a situation where their dependency
graph contains both gRPC Swift and the gRPC core library. This is
problematic since both have the same module name ("GRPC"). Changing our
own module name is a very large breaking change and one we'd like to avoid.
As an escape valve, users who take a direct dependency on us may rename
our module via their Podfile; doing so would require their generated
code to depend on that module, rather than the currently hardcoded
'GRPC' module.
Modifications:
- Add an option to the codegen to specify the gRPC module name
- Remove a couple of imports which were previously used but are now no
longer require
- Regenerate
Result:
It's possible for Cocoapods users to take a direct dependency on gRPC
Swift and libgrpc.
0 commit comments