Skip to content
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

No way to deserialize a single event without allocating and discarding an array #15063

Closed
pakrym opened this issue Sep 10, 2020 · 1 comment
Closed
Labels
Client This issue points to a problem in the data-plane of the library. Event Grid

Comments

@pakrym
Copy link
Contributor

pakrym commented Sep 10, 2020

The EventGrid WebJobs extension supports the ability to return a single event from function as a string or JsonElement, currently, we have to use EventGridEvent.Parse and then always discard the array. Would be nice if we had an EventGridEvent.ParseSingle method.

Related: #15058

cc @ellismg

@pakrym pakrym added Event Grid Client This issue points to a problem in the data-plane of the library. labels Sep 10, 2020
@JoshLove-msft
Copy link
Member

This is now fixed as there is an EventGridEvent.Parse method.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Event Grid
Projects
None yet
Development

No branches or pull requests

2 participants