Skip to content

Add support for dynamics workflows to Springboot#2506

Merged
Quinn-With-Two-Ns merged 2 commits intotemporalio:masterfrom
Quinn-With-Two-Ns:issue-1449
May 3, 2025
Merged

Add support for dynamics workflows to Springboot#2506
Quinn-With-Two-Ns merged 2 commits intotemporalio:masterfrom
Quinn-With-Two-Ns:issue-1449

Conversation

@Quinn-With-Two-Ns
Copy link
Contributor

Add support for dynamics workflows to Springboot

closes #1449

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner May 2, 2025 20:39
@SuppressWarnings("unchecked")
private <T> void configureWorkflowImplementation(Worker worker, Class<?> clazz) {
// Handle dynamic workflows
if (DynamicWorkflow.class.isAssignableFrom(clazz)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I figure lots of this comes from existing code? I'm guessing there's not a reasonable way to reuse (i.e. maybe we don't want to reference internal packages of another JAR)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No we don't want to reference internal, it will break Java modules.

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 2e1c89e into temporalio:master May 3, 2025
9 checks 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.

Spring Boot - add support for dynamic worklows

2 participants