Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove setting of TaskName.Version for now #71

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

jviau
Copy link
Member

@jviau jviau commented Oct 25, 2022

Due to the fact we do not consider TaskName.Version as part of equality checks, it is effectively unusable to customers. You cannot register two tasks with the same name, but different versions. Additionally incoming work requests of the same name will always resolve to the same instance regardless of version matching. I am opting to remove the ability to set this for now as it is misleading to customers. We can add it back in when task versioning is actually supported.

@jviau jviau requested a review from cgillum October 25, 2022 22:11
src/Abstractions/TaskName.cs Show resolved Hide resolved
@jviau jviau merged commit 2c30da7 into microsoft:main Oct 25, 2022
@jviau jviau deleted the task-version branch October 25, 2022 23:41
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