We are requesting a range of numbers instead of just one since we have some plans for a variety of orthogonal kinds of custom options. For example: 1. Injecting extra metadata into FileDescriptorProtos via custom options. (These options are inserted by the Buf tool when building proto sources, to encode additional metadata about the unit of files compiled.) 2. Configuration options for protoc plugins, that generate extra metadata into sources. (These options may be used by users when writing proto sources.) The suggested approach of reserving just one number and making it a message with *all* options is unattractive since users of one category of options is unlikely to want to import types related to another category. FWIW, there are several other rows above that have also chosen to reserve ranges of 5 or 10 numbers.pull/11110/head
parent
f8393ee555
commit
68ef5ff1da
1 changed files with 9 additions and 1 deletions
Loading…
Reference in new issue