Open bradcypert opened 2 years ago
Development / spike work is now possible with GoLand 2021.3.1 and 1.18beta1. I think our first step would be spike work in determining how we want to go about it.
There's a few ways we could do it, but also some constraints .. with constraints.. that I found in some testing on my end. Namely, if we create a type constraint definition, any interfaces we include in the union must not have method signatures in their interface
definition. Meaning, we could use string
or []byte
or other types, but interfaces get tricky. I think that really just excludes fmt.Stringer
in this case, but it's important to note when planning this out.
When we have support for generics, the container should use them. Let's use this issue to plan out how that will look.