Skip to content

Conversation

@mnieto
Copy link
Contributor

@mnieto mnieto commented Mar 2, 2022

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

@SebastianSchuetze SebastianSchuetze self-requested a review March 5, 2022 06:32
@mnieto mnieto marked this pull request as ready for review March 14, 2022 21:05
Copy link
Contributor

@SebastianSchuetze SebastianSchuetze left a 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.

@mnieto
Copy link
Contributor Author

mnieto commented Apr 11, 2022

@SebastianSchuetze , I sent my comments regarding to the _countParameters function. What direction should I get?

@SebastianSchuetze SebastianSchuetze merged commit 10024b0 into MethodsAndPractices:trunk Sep 3, 2022
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.

Get-VSTeamUserEntitlement only returns 96 results

2 participants