Paging problem if "nextLink" contains parameters
lmazuel opened this issue · comments
Laurent Mazuel commented
In GraphRbac, the next link while paging has this form:
directoryObjects/$/Microsoft.DirectoryServices.User?$skiptoken=X'445....0000'
Which means a partial path with some parameters (i.e. /a/b/c?t=y
form).
The Python code is unable to deal with that currently. Example:
- The method msrest.paging.Paged._validate_url refuses this kind of path
- The generated code expect a variable
url
with path-only and a dictquery_parameters
with parameters. The current code leads to:
url="/a/b/c?t=y"
query_parameters={"api-version":"1.6"}
which produces the url:
/a/b/c?t=y?api-version=1.6