-
Notifications
You must be signed in to change notification settings - Fork 157
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
enable API version 6.0 for Get-VSTeamUserEntitlement #459
Conversation
* added unit tests for /Get-VSTeamUserEntitlement * updated documentation
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.
Really great code as a first contributor!
Not so sure about the solution how you try to check API difference by using count of parameters. Which seems more of a work around.
Wondering if we could solve it by using dynamic parameters and trying to resolve parameters that are shown by evaluating the set apiVersion. The version is always set, and we should make use of it and create the dependency from there.
@SebastianSchuetze , I sent my comments regarding to the _countParameters function. What direction should I get? |
PR Summary
Allows to take advantage of the filter parameter defined in the API v6.0
Defines a new parameterset specific for v6.0 onwards, and ensure that the existing top and skip parameters only can be executed with lower API versions
Fix #388
PR Checklist