ts-proto icon indicating copy to clipboard operation
ts-proto copied to clipboard

feat: add enumUnspecifiedAsUndefined option

Open Celend opened this issue 3 years ago • 2 comments

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.

Celend avatar Aug 07 '22 16:08 Celend

@stephenh I'll fix in this week, please wait :D

Celend avatar Aug 17 '22 12:08 Celend

@stephenh I pushed new code, there are some question/changes need to confirm:

  1. number enum support
  2. toJSON output undefined or not
  3. fromJSON received undefined or not

Please take a look and confirm, thanks!

Celend avatar Aug 21 '22 09:08 Celend