You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In v4 of the client library, updating an item (via PATCH) causes server to return the updated item. This was also understood by clien library and object was returned.
We use etag to track version changes, so after PATCH we just stored new etag. In v5.6 beta preview, the PatchAsync method returns Task without the underlying type, not parsing the response
Describe the solution you'd like
PatchAsync should return Task where T is the object you are updating. This would save us one request trip to server. The data is already in the response, it just needs to be processed/parsed properly by the client library
The generator is currently generating void methods due to the schema provided in the openApi reference document. This is currently being tracked via microsoft/kiota#1699 to allow for range responses in the schema.
Is your feature request related to a problem? Please describe.
In v4 of the client library, updating an item (via PATCH) causes server to return the updated item. This was also understood by clien library and object was returned.
We use etag to track version changes, so after PATCH we just stored new etag. In v5.6 beta preview, the PatchAsync method returns Task without the underlying type, not parsing the response
Describe the solution you'd like
PatchAsync should return Task where T is the object you are updating. This would save us one request trip to server. The data is already in the response, it just needs to be processed/parsed properly by the client library
Sample code now:
Expectation is to be able to execute:
The text was updated successfully, but these errors were encountered: