Generating scala code from .avdl doesn't create case classes for fields that have different namespace than the protocol.
1.0.0 and older versions are affected
Example:
Only class for Simple record will be created skipping the Constraint enum
@namespace("system.test")
protocol Simple {
record Simple {
union { null, int } id = null;
system.abc.Constraint constraints;
}
@namespace("system.abc")
enum Constraint {
create, delete
}
}
Example: Generating from .avsc generates both Simple and Constraint correctly.
Generating scala code from
.avdl
doesn't create case classes for fields that have different namespace than the protocol. 1.0.0 and older versions are affectedExample: Only class for
Simple
record will be created skipping theConstraint
enumExample: Generating from
.avsc
generates bothSimple
andConstraint
correctly.