Skip to content

Conversation

@JoshLove-msft
Copy link
Member

Fixes #21639

/// A custom converter that attributes the <see cref="EventGridEvent"/> type.
/// This allows System.Text.Json to serialize and deserialize EventGridEvent by default.
/// </summary>
internal class EventGridEventConverter : JsonConverter<EventGridEvent>
Copy link
Member Author

@JoshLove-msft JoshLove-msft Jun 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is covered by existing tests after switching the Parse and Publish methods to use this.

@JoshLove-msft
Copy link
Member Author

/azp run net - eventgrid - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft
Copy link
Member Author

/azp run net - eventgrid - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft
Copy link
Member Author

/azp run net - eventgrid - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft
Copy link
Member Author

/azp run net - eventgrid - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft JoshLove-msft enabled auto-merge (squash) June 29, 2021 21:22
@JoshLove-msft JoshLove-msft merged commit f15ec78 into Azure:main Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add custom converter for EventGridEvent

3 participants