Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.10.1
-
None
-
None
Description
GenericWriter expects schema array properties to be an actual Array type, while Reflect and Specific writers expect array fields to be of IList<T>.
For convenience, it would nice to support List, IList or Array types for array schema fields. Changing GenericWriter code to look for an IList instead of Array it can support existing Array and allow List<T>/IList<T>, etc. A small change with a large benefit to code using the library.