https://github.com/activeguild/use-proto-fieldoption
https://github.com/activeguild/use-proto-fieldoption
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/activeguild/use-proto-fieldoption
- Owner: activeguild
- Created: 2020-03-09T01:28:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T15:43:50.000Z (over 3 years ago)
- Last Synced: 2025-03-27T08:55:17.050Z (about 1 year ago)
- Language: TypeScript
- Size: 767 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### This
- Use proto's field-option.
- An error occurs when an array is specified for filedOption
- https://github.com/protocolbuffers/protobuf/blob/f130827371fc73ab6e24d44313af6577cc2f9d57/src/google/protobuf/descriptor.proto#L509
### Sample
- Fileld option is a error if array.
- https://github.com/activeguild/use-proto-fieldoption/blob/1fd8294c8dc6ff7885f1fbe5365905dd9fd7e8d9/protos/sample_load_error.proto#L18
- Fileld option is no error is a no error if premitive property.
- https://github.com/activeguild/use-proto-fieldoption/blob/1fd8294c8dc6ff7885f1fbe5365905dd9fd7e8d9/protos/sample_load_success.proto#L18