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

Map events based on the headers #9

Open
Cisien opened this issue Jul 12, 2021 · 0 comments
Open

Map events based on the headers #9

Cisien opened this issue Jul 12, 2021 · 0 comments

Comments

@Cisien
Copy link
Contributor

Cisien commented Jul 12, 2021

X-GitHub-Event seems like a very reliable way to determine which type to serialize to, possibly removing the need to even parse the json first to determine the mapped class.

X-GitHub-Delivery: 08a1ad40-e270-11eb-8f16-a659524c5253
X-GitHub-Event: pull_request
X-GitHub-Hook-ID: 306989006
X-GitHub-Hook-Installation-Target-ID: 19499857
X-GitHub-Hook-Installation-Target-Type: organization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant