-
Notifications
You must be signed in to change notification settings - Fork 870
New issue
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
How to get Timestamp from AddEntity
response in aztables?
#22438
Comments
By timestamp I assume you're referring to the |
Oh I think what you want is the |
@jhendrixMSFT Thanks for the response So either
|
For whatever reason, we disable response metadata and don't provide an option to toggle it. I think it would be best to expose the |
Thanks @jhendrixMSFT
Here while we do send back the |
The feature will be available in |
Unfortunately there was a delay in the release, it's available now. |
Hello,
I am using aztables package.
As mentioned in the doc, i have created a service client like:
Then I try to add an entity like:
This return value has only the
ETag
however I also want other metadata fields, especially the timestamp.This
AddEntity
method callsInsertEntity
method of an internal interface (so I can't use it). Inside this method, all the extra fields I require are present at(validated manually)
But then this response is trimmed down to only have
ETag
before theAddEntity
method returns (by converting to a minimal type)I want to know what's the idiomatic/suggested way I can get this information?
The only way I am able to think is adding custom Pipeline policy that we pass to the
TableServiceClient
:but this would be a bit tedious imo, so wanted to consult here.
Thanks
The text was updated successfully, but these errors were encountered: