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 According to the documenation, this call
var driveItem = serviceClient.Drives["driveId"].Items["folderId"].ItemWithPath("SomeFilename.txt").Content.PutAsync(stream);
should return a drive item, but the current signature of the PutAsync() method is
PutAsync()
public async Task PutAsync(Stream body, Action<ContentRequestBuilderPutRequestConfiguration>? requestConfiguration = default, CancellationToken cancellationToken = default)
Expected behavior Please change the signature of the method to be Task<DriveItem> instead of Task.
Task<DriveItem>
Task
The text was updated successfully, but these errors were encountered:
Dependent on microsoft/OpenAPI.NET.OData#357
Sorry, something went wrong.
Evidently you need to make a second call to retrieve the DriveItem as such:
var driveItem = await serviceClient.Drives["driveId"].Items["folderId"].ItemWithPath("SomeFilename.txt").GetAsync();
Successfully merging a pull request may close this issue.
Describe the bug
According to the documenation, this call
should return a drive item, but the current signature of the
PutAsync()
method isExpected behavior
Please change the signature of the method to be
Task<DriveItem>
instead ofTask
.The text was updated successfully, but these errors were encountered: