Skip to content

added definition source and mapping on send#146

Merged
raphael-goetz merged 10 commits intomainfrom
#144-set-definition-source
Apr 21, 2026
Merged

added definition source and mapping on send#146
raphael-goetz merged 10 commits intomainfrom
#144-set-definition-source

Conversation

@raphael-goetz
Copy link
Copy Markdown
Member

Resolves: #144

Copilot AI review requested due to automatic review settings April 17, 2026 18:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for propagating a definition_source value when FlowUpdateService sends definitions to Aquila, addressing Issue #144 (“DataTypeService should set definition_source”).

Changes:

  • Added an optional definition_source field to FlowUpdateService plus a builder-style setter.
  • Applied definition_source onto DataTypes, FunctionDefinitions, RuntimeFunctionDefinitions, and FlowTypes prior to sending.
  • Changed send/send_with_status (and internal update methods) to take &mut self to allow mutation before request construction.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/flow_service/mod.rs Outdated
Comment thread src/flow_service/mod.rs
Comment thread src/flow_service/mod.rs Outdated
Comment thread src/flow_service/mod.rs
Comment thread src/flow_service/mod.rs Outdated
raphael-goetz and others added 3 commits April 17, 2026 20:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/flow_service/mod.rs Outdated
Comment thread src/flow_service/mod.rs Outdated
Comment thread src/flow_service/mod.rs Outdated
Comment thread src/flow_service/mod.rs Outdated
raphael-goetz and others added 4 commits April 17, 2026 20:57
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/flow_service/mod.rs Outdated
Comment thread src/flow_service/mod.rs
for function in self.functions.iter_mut() {
function.definition_source = source.to_string();
}
};
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s an unnecessary trailing semicolon after the if let Some(source) = ... block. It doesn’t change behavior, but it’s inconsistent with the other update methods and can look like an accidental empty statement; removing it would improve readability.

Suggested change
};
}

Copilot uses AI. Check for mistakes.
raphael-goetz and others added 2 commits April 17, 2026 22:06
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
@raphael-goetz raphael-goetz merged commit 8c849bb into main Apr 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DataTypeService should set definition_source

2 participants