[
https://issues.apache.org/jira/browse/AVRO-3040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Gonyo updated AVRO-3040:
-----------------------------
Summary: GenericWriter: Array requirement too restrictive - use IList
instead for broader array type support. (was: GenericWriter: Array requirement
too restrictive)
> GenericWriter: Array requirement too restrictive - use IList instead for
> broader array type support.
> ----------------------------------------------------------------------------------------------------
>
> Key: AVRO-3040
> URL: https://issues.apache.org/jira/browse/AVRO-3040
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Reporter: John Gonyo
> Priority: Major
>
> 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.
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)