nspcc-dev / neofs-sdk-go

Go implementation of NeoFS SDK
Apache License 2.0
6 stars 14 forks source link

Sometimes unknown enum values are lost #606

Open cthulhu-rider opened 3 months ago

cthulhu-rider commented 3 months ago

currently, Unmarshal / UnmarshalJSON of eACL and constituent types loses unknown enum value and shrinks them to 0. This should not be done: callers shouls be able to access real value and decide what to do on their own

cthulhu-rider commented 3 months ago

plus session verbs