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
Are there any instances in which a primitive type (i.e., bool, float, int, string) could have a
type defined for associated_external_type, and if so, what would the accompanying expand and
flatten functions look like?
At first glance, it seems as though primitives would just be pointers to Go types (e.g., *bool,
*float, *int, *string).
Supporting custom primitive external types will require that a corresponding custom framework
type also be defined. The custom framework type would be responsible for the mapping to/from
the custom external type. This will require supporting basetype interfaces
(e.g., StringValuable).
Without a corresponding custom framework type, primitive attributes will only be able to support
pointers and values (e.g., bool and *bool).
Associated External Types and Collection Types - List, Map & Set
Are there any instances in which a collection type (i.e., list, map, set) could have a type
defined for associated_external_type, and if so, what would the accompanying expand and
flatten functions look like?
At first glance, it seems as though collection types would just be Go types (i.e., list => slice,
map => map, set => slice).