Hello again, Avro community,
let's say I have this simple protocol:
@namespace("com.example.foo")
protocol FooProto {
record Foo {
string bar;
}
}
Now, I define a second protocol, but want to reference a Foo record in it. The
added difficulty is that the Foo is defined in another project (I am using an
sbt multi-project build with sbt-avrohugger to generate the code)
So, how should I achieve something like this?
@namespace("com.example.bar")
protocol BarProto {
record Bar {
Foo foo; // <- how to get the Foo from foo.avdl?
}
}
Thanks in advance,
Jens