You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My use case requires me to skip a certain enum variation to be selected. It is the gRPC's "unspecified" values if you're familiar. They are used as the default value if not specified by the other end. It basically works like a null value in JSON, meaning if the value is null or really isn't provided, it is considered null.
I think my use case is quite applicable to others, as it is often the first choice to use the first variation of an enum for a "zero value". So my question is whether this is possible or not and if I can workaround it.
The text was updated successfully, but these errors were encountered:
My use case requires me to skip a certain enum variation to be selected. It is the gRPC's "unspecified" values if you're familiar. They are used as the default value if not specified by the other end. It basically works like a
null
value in JSON, meaning if the value is null or really isn't provided, it is considerednull
.I think my use case is quite applicable to others, as it is often the first choice to use the first variation of an enum for a "zero value". So my question is whether this is possible or not and if I can workaround it.
The text was updated successfully, but these errors were encountered: