Closed bigdevwhale closed 3 years ago
Thanks for the pull request! I think this has to be done a little bit different, since merging this would introduce a breaking change (eg. get
would now return different kind of an object in some cases).
I agree that this is something which would be best supported so here are the options:
get
method like $doNotWrap = false
so you can specify whether the response should be wrapped or not (I am more in favor of this, since it will not break anything.What are your thoughts?
/cc: @Marat555
@hajekj I like the second option. made the appropriate commits
Awesome! I have merged this PR, thanks for the contribution @Marat555! I will release this as v2.0.2
later today, since there is no breaking change and simply extends the existing functionality.
Adding ability for paging collections of resources that derive from directoryObject like collections of users or groups.
For paging scenarios $skipToken parameter needs to be utilized instead along with $top parameter.
Docs: https://docs.microsoft.com/en-us/graph/paging