Class fields are mapped to Record schema fields.
To be able to set values you need an instance of the type, i. e. a class
field.
On Wed, 2 Apr 2025 at 12:20, Bagi wrote:
> Just wanted to add that the Java reflection is able to fetch the enum like
> in the example I posted earlier:
>
> Class myCl
Hi Martin,
Many thanks for your reply. I am not saying it's behaving incorrectly, just
trying to find a way to have the enum shown in the schema. I have class
like that, where there is enum defined but not the field with its type. I
only just started with Avro and wanted to check if that is possib