-
Notifications
You must be signed in to change notification settings - Fork 10
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
Loading list of work items #364
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's your idea of having aliases which return an AzureDevOpsWorkItemTracking
object? Why not have an alias which returns an IEnumerable<AzureDevOpsWorkItem>
? This would be consistent with implementation for build pipeline:
public static IEnumerable<AzureDevOpsBuild> AzureDevOpsBuilds( |
41de87f
to
140d731
Compare
The idea was to have a "root" object to start various operations. Example:
|
The issue I have with this approach is that it does not align well with the idea behind this addin. The goal of the addin is to provide convenience methods to access Azure DevOps. Hiding functionality behind an object is less Cake-like and makes the functionality less accessible compared to have them as aliases. Functionality for example won't be listed on the website (https://cakebuild.net/dsl/azure-devops/) or as part of IntelliSense. |
Ok, I'm fine with that. So I'll abandon this PR and improve #357 to return work items instead. Ok? |
Having functionality to load multiple work items makes perfect sense to me. I'm not opposed to the functionality, but prefer to have it implemented as a first class citizen through an In my understanding this PR and #357 are about different things (reading work items from a build in #357 vs reading multiple work items based on settings in this PR) |
Great. I've updated PR 357. |
140d731
to
785b985
Compare
Initial version of work item tracking.
Support loading a list of work items
Fixes #363