We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug RootRequestBuilder.ItemWithPath() can't set query parameter
To Reproduce Steps to reproduce the behavior:
var root = graphClient.Drives[userDriveId].Root; var info = root.ItemWithPath("/abc").ToGetRequestInformation(config => { config.QueryParameters.Expand = new string[] { "children" }; }); Console.WriteLine(info.URI);
Expected behavior print a url include expand=children
expand=children
Screenshots it only print
https://graph.microsoft.com/v1.0/drives/xxxxxxxxxxxxx/root:/abc:
Desktop (please complete the following information):
Additional context Graph Explorer can accept this kind of url
https://graph.microsoft.com/v1.0/me/drive/root://Business Data:/?expand=children
The text was updated successfully, but these errors were encountered:
Hi I also encountered the same error. In my case the solution was to use appropriate extension
var root = graphClient.Drives[userDriveId].Root; var info = root.ItemWithPath("/abc").Children.ToGetRequestInformation(); Console.WriteLine(info.URI);
Sorry, something went wrong.
Hi I also encountered the same error. In my case the solution was to use appropriate extension var root = graphClient.Drives[userDriveId].Root; var info = root.ItemWithPath("/abc").Children.ToGetRequestInformation(); Console.WriteLine(info.URI);
I know it, but I want to get it using only one request rather than dividing into two.
Successfully merging a pull request may close this issue.
Describe the bug
RootRequestBuilder.ItemWithPath() can't set query parameter
To Reproduce
Steps to reproduce the behavior:
Expected behavior
print a url include
expand=children
Screenshots
it only print
Desktop (please complete the following information):
Additional context
Graph Explorer can accept this kind of url
The text was updated successfully, but these errors were encountered: