grpc/grpc-swift

GRPCSwiftPlugin: Add support for ProtoPathModuleMappings in grpc-swift_opt

ripplexyz opened this issue · 1 comments

Can we add support for https://github.com/apple/swift-protobuf/blob/main/Documentation/PLUGIN.md#generation-option-protopathmodulemappings---swift-module-names-for-proto-paths in GRPCSwiftPlugin?

This option allows us to distribute proto files in multiple swift modules.

For example:
Core

  • Empty.proto
  • Media.proto

Auth

  • Session.proto
  • User.proto

And Auth SPM package depends on Core SPM package.