Can custom option be set to repeated?

sample code
syntax = "proto3";

package sample;

import "google/protobuf/descriptor.proto";

extend google.protobuf.FieldOptions {
  Scope scope = 50000;
}

message Scope {
  repeated string type = 1;
}

message Sample {
  uint64 id = 1 [
    (scope) = {
      types: ["1"]
    }
  ];
}ここにコードを入力...

sample repository
https://github.com/activeguild/use-proto-fieldoption

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/9b04f2f1-e927-4da7-9921-c6aec3e0458a%40googlegroups.com.

Reply via email to