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
An idea @r0l1 had today was to extend orbit so that it supports type switches. Say you have the structs IntValue, FloatValue, etc.., but want to make one API call that says getValue(id string) AnyValue.
The AnyValue in the example could be expressed as a union type union(IntValue, FloatValue) and would have to be specially encoded/decoded by orbit under the hood
The text was updated successfully, but these errors were encountered:
An idea @r0l1 had today was to extend orbit so that it supports type switches. Say you have the structs
IntValue
,FloatValue
, etc.., but want to make one API call that saysgetValue(id string) AnyValue
.The
AnyValue
in the example could be expressed as a union typeunion(IntValue, FloatValue)
and would have to be specially encoded/decoded by orbit under the hoodThe text was updated successfully, but these errors were encountered: