we’ve got this protobuffer object definition (and we cannot modify it)
...
message Condition {
oneof condition_one_of {
FieldCondition field = 1;
IsEmptyCondition is_empty = 2;
HasIdCondition has_id = 3;
Filter filter = 4;
IsNullCondition is_null = 5;
NestedCondition nested = 6;
}
}
message IsEmptyCondition {
string key = 1;
}
message IsNullCondition {
string key = 1;
}
...
When we run scalaPB
tasks we have the following error:
[error] /Users/pippo/qdrant4s/target/scala-2.13/src_managed/main/scalapb/qdrant/points/Condition.scala:210:9: method isEmpty is defined twice;
[error] the conflicting method isEmpty was defined at line 201:9
[error] def isEmpty: _root_.scala.Option[qdrant.points.IsEmptyCondition] = _root_.scala.None
Anyway to overcome this?