Skip to content

Commit 0c54ab2

Browse files
Merge branch 'main' into renovate/tucana-0.x
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
2 parents 0171243 + e7727df commit 0c54ab2

3 files changed

Lines changed: 347 additions & 373 deletions

File tree

src/flow_definition/feature/version.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
use tucana::shared::{DefinitionDataType, FlowType, FunctionDefinition, RuntimeFunctionDefinition};
1+
use tucana::shared::{
2+
DefinitionDataType, FlowType, FunctionDefinition, RuntimeFlowType, RuntimeFunctionDefinition,
3+
};
24

35
pub trait HasVersion {
46
fn version(&self) -> &String;
@@ -25,6 +27,13 @@ impl HasVersion for FunctionDefinition {
2527
&self.version
2628
}
2729
}
30+
31+
impl HasVersion for RuntimeFlowType {
32+
fn version(&self) -> &String {
33+
&self.version
34+
}
35+
}
36+
2837
impl HasVersion for RuntimeFunctionDefinition {
2938
fn version(&self) -> &String {
3039
&self.version

0 commit comments

Comments
 (0)