Skip to content

Conversation

@Aaron1011
Copy link
Member

@Aaron1011 Aaron1011 commented Feb 9, 2026

This allows the implementation to be overridne by consumers of durable


Note

Low Risk
Small API surface change with a default implementation that preserves current behavior; risk is limited to downstream compile updates and any custom overrides affecting validation outcomes.

Overview
Moves task parameter validation into the public Task trait by adding a default validate_params method that deserializes JSON into Self::Params.

Updates TaskWrapper/ErasedTask to delegate validation to the underlying task, enabling per-task custom validation before spawn_by_name accepts and enqueues work.

Written by Cursor Bugbot for commit 57c8411. This will update automatically on new commits. Configure here.

This allows the implementation to be overridne by consumers of durable
@virajmehta virajmehta added this pull request to the merge queue Feb 9, 2026
Merged via the queue into main with commit 3884f0d Feb 9, 2026
2 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.

2 participants