I'm trying to use a class from another avdl file in a file with a record of the same name. When this gets generated, the resulting scala uses the class inside the file rather than the class imported.
Example:
fileOne.avdl
@namespace("com.my.package.one")
protocol ProtocolOne {
record MyRecord {
....
}
}
fileTwo.avdl
@namespace("com.my.package.two")
protocol ProtocolTwo {
record MyRecord {
....
}
record UsesMyRecord {
com.my.package.one.MyRecord myRecord;
}
}
Resulting case class UsesMyRecord will use com.my.package.two's MyRecord since the generated case class doesn't keep the full class path
I'm trying to use a class from another avdl file in a file with a record of the same name. When this gets generated, the resulting scala uses the class inside the file rather than the class imported.
Example:
fileOne.avdl
fileTwo.avdl
Resulting case class UsesMyRecord will use com.my.package.two's MyRecord since the generated case class doesn't keep the full class path