Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow_V2 protoc option #1308

Open
Open
@Clement-Jean

Description

@Clement-Jean

I would like to be able to generate V2 protobuf code (https://github.com/grpc/grpc-swift/blob/f3380d217ebd7f5a939115736bcc19fe1752fee9/Plugins/GRPCSwiftPlugin/plugin.swift#L73). I was able to do it manually like the following:

protoc --swift_out=. \       --swift_opt=FileNaming=DropPath \       --grpc-swift_out=. \       --grpc-swift_opt=Client=true,Server=false,FileNaming=DropPath,_V2=true \       proto/my.proto

but it seems the rules_swift doesn't accept this option (

GRPC_PLUGIN_OPTION_ALLOWLIST=PROTO_PLUGIN_OPTION_ALLOWLIST+ [
).

would it be possible to add it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp