From f5f283c3cbdc7005428f8ddc7d424462fa855bed Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 29 Mar 2026 13:12:03 +0000 Subject: [PATCH 1/2] Update Rust crate tucana to 0.0.65 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 610e72c..6e05fde 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2415,9 +2415,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tucana" -version = "0.0.64" +version = "0.0.65" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d98ed8a00732c5458ac803882820ba38d4be5b2ff96804df87ac3412d9b41e9a" +checksum = "5670bcb2c6c455486e3b5be8b829d7a07bbd06a427d7c6db873259855f34e613" dependencies = [ "pbjson", "pbjson-build", diff --git a/Cargo.toml b/Cargo.toml index 04621cd..ea5b94f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ edition = "2024" [workspace.dependencies] serde = "1.0.219" serde_json = "1.0.140" -tucana = "0.0.64" +tucana = "0.0.65" clap = "4.5.41" colored = "3.0" tabled = "0.20" From 09774d4a20c5f2f88fc03b4efc62e804e129d198 Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 1 Apr 2026 21:53:09 +0200 Subject: [PATCH 2/2] feat: adjusted to latest tucana version --- crates/cli/src/analyser/flow_type.rs | 39 ++-------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/crates/cli/src/analyser/flow_type.rs b/crates/cli/src/analyser/flow_type.rs index 4dc58ff..4f2bdb5 100644 --- a/crates/cli/src/analyser/flow_type.rs +++ b/crates/cli/src/analyser/flow_type.rs @@ -77,43 +77,17 @@ impl Analyser { )); } - if let Some(identifier) = &flow.input_type - && identifier == "" - { + if &flow.signature == "" { self.reporter.add(Diagnose::new( name.clone(), original.clone(), DiagnosticKind::NullField { - field_name: "input_type".into(), - }, - )); - } - - if let Some(identifier) = &flow.return_type - && identifier == "" - { - self.reporter.add(Diagnose::new( - name.clone(), - original.clone(), - DiagnosticKind::NullField { - field_name: "return_type".into(), + field_name: "signature".into(), }, )); } for setting in &flow.settings { - for linked in setting.linked_data_type_identifiers.clone() { - if !self.data_type_identifier_exists(linked.as_str(), None) { - self.reporter.add(Diagnose::new( - name.clone(), - original.clone(), - DiagnosticKind::UndefinedDataTypeIdentifier { - identifier: linked.clone(), - }, - )); - } - } - if setting.name.is_empty() { self.reporter.add(Diagnose::new( setting.identifier.clone(), @@ -132,15 +106,6 @@ impl Analyser { }, )); } - if !self.data_type_identifier_exists(&setting.r#type, None) { - self.reporter.add(Diagnose::new( - name.clone(), - original.clone(), - DiagnosticKind::UndefinedDataTypeIdentifier { - identifier: setting.r#type.clone(), - }, - )); - } } if self.index.has_flow_type(&name, Some(aft.id)) {