We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebf6a1e commit ee8b6acCopy full SHA for ee8b6ac
src/types.rs
@@ -752,15 +752,7 @@ impl FieldType {
752
FieldType::Map { value_ty } => {
753
format!("Map<String,{}>", value_ty.to_java_typename()).into()
754
}
755
- FieldType::SchemaRef(name) => {
756
- // TODO(mendy): this corresponds to a `#[serde(untagged)]` enum `svix_server::v1::endpoints::background_tasks::Data`
757
- // we should change this server side
758
- if name == "Data" {
759
- "Object".into()
760
- } else {
761
- name.clone().into()
762
- }
763
+ FieldType::SchemaRef(name) => name.clone().into(),
764
// backwards compat
765
FieldType::StringConst(_) => "TypeEnum".into(),
766
0 commit comments