Re: [protobuf] Re: Can custom option be set to repeated?

2020-05-06 Thread mustache_master
In javascript language, it fails when loading proto. https://github.com/activeguild/use-proto-fieldoption/blob/a153663f1c41565e8cb06e9e6a9f4887845d6d14/index.ts#L11 This is a problem with the javascript library, which means that it is possible by design. 2020年5月7日木曜日 10時13分55秒 UTC+9 Derek

Re: [protobuf] Re: Can custom option be set to repeated?

2020-05-06 Thread Derek Perez
https://stackoverflow.com/questions/28737317/protobuf-repeated-message-option Has an example of how one might do this, you can repeat the option as well. However, the array syntax should also be acceptable. On Wed, May 6, 2020 at 6:09 PM mustache_master wrote: > Thank you. > No I dosen't, I

[protobuf] Re: Can custom option be set to repeated?

2020-05-06 Thread mustache_master
Thank you. No I dosen't, I got the same error. Can't I use the repeated attributes as an options? 2020年4月24日金曜日 11時48分59秒 UTC+9 David L. Jones: > > It looks like this: > > types: ["1"] > > should be: > > type: ["1"] > > Does that change fix the error? > > On Thursday, April 23,

[protobuf] Re: Can custom option be set to repeated?

2020-04-23 Thread 'David L. Jones' via Protocol Buffers
It looks like this: types: ["1"] should be: type: ["1"] Does that change fix the error? On Thursday, April 23, 2020 at 7:16:31 PM UTC-7, mustache_master wrote: > > > Can custom option be set to repeated? > > sample code > syntax = "proto3"; > > package sample; > > import