grpc-swift icon indicating copy to clipboard operation
grpc-swift copied to clipboard

GRPCSwiftPlugin: Add support for ProtoPathModuleMappings in grpc-swift_opt

Open ripplexyz opened this issue 2 years ago • 1 comments
trafficstars

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.

ripplexyz avatar Aug 26 '23 19:08 ripplexyz

I would like this as well!

AttilaTheFun avatar Apr 06 '24 20:04 AttilaTheFun