Adds the Type field to api.Feature which is already returned by the API but was not captured in the Go struct.
Closes #162
Important files
Discussion points
This will be slightly difficult for us to get to in normal usage since IsEnabled and GetVariant do not expose the underlying api.Feature. We plan to add our own map[string]*api.Feature to our internal client so we can resolve the underlying feature after we call GetVariant.
About the changes
Adds the
Type
field toapi.Feature
which is already returned by the API but was not captured in the Go struct.Closes #162
Important files
Discussion points
This will be slightly difficult for us to get to in normal usage since
IsEnabled
andGetVariant
do not expose the underlyingapi.Feature
. We plan to add our ownmap[string]*api.Feature
to our internal client so we can resolve the underlying feature after we callGetVariant
.