Skip to content

feat(sdk): support indirect DurableHandler inheritance#442

Merged
nvasiu merged 1 commit into
mainfrom
indirect_inherit_durable_handler
Jun 9, 2026
Merged

feat(sdk): support indirect DurableHandler inheritance#442
nvasiu merged 1 commit into
mainfrom
indirect_inherit_durable_handler

Conversation

@nvasiu

@nvasiu nvasiu commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Issue Link, if available

#415

Description

Added a DurableHandler constructor which accepts an input type explicitly.

This allows users to extend DurableHandler indirectly through an intermediate class, where the input type can't be inferred from the superclass.

The existing no-arg constructor still infers the input type from the superclass. This was left unchanged for backwards compatability.

Demo/Screenshots

Checklist

  • I have filled out every section of the PR template
  • I have thoroughly tested this change

Testing

Unit Tests

Have unit tests been written for these changes? YES

Integration Tests

Have integration tests been written for these changes? N/A

Examples

Has a new example been added for the change? (if applicable) N/A

@nvasiu nvasiu force-pushed the indirect_inherit_durable_handler branch from ef198a2 to f599356 Compare June 9, 2026 23:01
@zhongkechen zhongkechen marked this pull request as ready for review June 9, 2026 23:09
@zhongkechen zhongkechen requested a review from a team June 9, 2026 23:09
@nvasiu nvasiu merged commit c435e19 into main Jun 9, 2026
9 of 12 checks passed
@nvasiu nvasiu deleted the indirect_inherit_durable_handler branch June 9, 2026 23:19
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.

2 participants