[
https://issues.apache.org/jira/browse/AVRO-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Corey Fritz updated AVRO-2977:
------------------------------
Summary: Support runtime schema generation for plain old C# objects (POCOs)
(was: Support schema generation for plain old C# objects (POCOs))
> Support runtime schema generation for plain old C# objects (POCOs)
> ------------------------------------------------------------------
>
> Key: AVRO-2977
> URL: https://issues.apache.org/jira/browse/AVRO-2977
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Affects Versions: 1.10.0
> Reporter: Corey Fritz
> Priority: Major
>
> AVRO-2389 added support for serialization/deserialization of POCOs, but it
> requires knowledge of an Avro schema ahead of time. The reflection support
> for Java has a really nice feature where a schema can be generated at runtime
> based on the structure of the Java class, plus some optional annotations to
> override default behavior.
> [https://github.com/apache/avro/blob/release-1.10.0/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectData.java#L625]
> This allows Java developers to model their data using POJOs, and not have to
> worry about also maintaining a compatible Avro schema. Would be great if we
> could get similar functionality for C#.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)