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
The CRD code generator does not cater for a wide range of enumerable types. In the generated JSON Schema these unsupported collection properties have a type of object instead of array which breaks validation when posting resources. It would be ideal for the following additional types to be supported:
List<T>, IList<T> and IReadyOnlyList<T>
Collection<T>, ICollection<T> and IReadyOnlyCollection<T>
HashSet<T>, ISet<T> and IReadOnlySet<T>
Types derived from List<T> and Collection<T>
These could all be detected by targeting IEnumerable<T> based interfaces on the type.