I'm trying to generate code with Codegen using two schemas.
In device.avsc, I have a record of type Device.
In status.avsc, I have a record of type Status that have a field of type Device.
I tried to first generate device.avsc and then status.avsc and to use both schema to generate one go file but Codegen says that the type Device is undefined.
Is there a way to make that happen ? If not, do you have ideas to modify Codegen in order to make that possible ? I'm willing to help.
Hi there,
I'm trying to generate code with Codegen using two schemas.
In device.avsc, I have a record of type Device.
In status.avsc, I have a record of type Status that have a field of type Device.
I tried to first generate device.avsc and then status.avsc and to use both schema to generate one go file but Codegen says that the type Device is undefined.
Is there a way to make that happen ? If not, do you have ideas to modify Codegen in order to make that possible ? I'm willing to help.
Thanks and regards, Albin.