ts-proto
ts-proto copied to clipboard
feat: add enumUnspecifiedAsUndefined option
see #630
But I'm not sure the value of Struct.NulLValue should be null or undefined, current is undefined, it's looks a little weird.
@stephenh I'll fix in this week, please wait :D
@stephenh I pushed new code, there are some question/changes need to confirm:
- number enum support
- toJSON output
undefinedor not - fromJSON received
undefinedor not
Please take a look and confirm, thanks!