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
Coming out of #172 – TypeListToStringSlice can currently be called on a types.List value with any internal element type. How can we make this more type-safe? Ideally this function is only ever called on types.List values that actually hold strings.
I saw another Terraform provider (was it Cloudflare's? hmm.) that had an interesting solution that defines generics that wrap types.List but also hold type information, and defines strongly-typed functions on those.
The text was updated successfully, but these errors were encountered:
Coming out of #172 –
TypeListToStringSlice
can currently be called on atypes.List
value with any internal element type. How can we make this more type-safe? Ideally this function is only ever called ontypes.List
values that actually hold strings.I saw another Terraform provider (was it Cloudflare's? hmm.) that had an interesting solution that defines generics that wrap
types.List
but also hold type information, and defines strongly-typed functions on those.The text was updated successfully, but these errors were encountered: