[BUG] [EventGrid] Cloud event time serialization
See original GitHub issueLibrary name and version
Azure.Messaging.EventGrid
Describe the bug
Hello
When I publish cloud events with time in the UTC format - I see time with offset but should be without offset, just with Z in the end. Could you please add a custom serialization or make this field virtual or string or something else?
Thank you, best regards.
Expected behavior
"time": "2022-04-05T19:19:42.58Z"
Actual behavior
"time": "2022-04-05T19:19:42.5805717+00:00"
Reproduction Steps
Publish cloud events with time in the UTC format.
Environment
No response
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
[BUG] Serializing CloudEvent using Microsoft.Azure. ...
Describe the bug. SendCloudEventsInternalAsync is not correctly serializing CloudNative.CloudEvents before sending event to Azure Event Grid ...
Read more >How do I find the reason why my Event Grid messaghes fail ...
I have created a Custom Topic for my event grid for Cloud Events v1.0. I have a logic app that is subscribed to...
Read more >c# - .Net Event Grid Webhook Model Binding Error
I have tried to implement a custom model instead of using ResourceWriteSuccessData but get the same result. My model binder looks like this,...
Read more >CloudEvent.java
Should be serializable with the serializer set on the publisher client. *; * @return the cloud event itself. */
Read more >Reactive Programming with Event Grid and Azure Functions
I play with the Azure Event Grid . Azure Event Grid is a fully-managed intelligent event routing service that allows for uniform event...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist.
@JoshLove-msft got it. Thank you for the fast answer. Best regards.