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

Fix SeverityLevel JSON serialization #19

Merged
merged 1 commit into from
Feb 15, 2020

Conversation

ranweiler
Copy link
Contributor

Pascal-casing the variants of SeverityLevel when serializing to JSON
disagrees with the schema, and breaks all trace events. Remove the guilty
enum attribute (which is not auto-generated) and add a regression test.

Closes #18.

Pascal-casing the variants of `SeverityLevel` when serializing to JSON
disagrees with the schema, and breaks all trace events. Remove the guilty
enum attribute (which is not auto-generated) and add a regression test.
@ranweiler ranweiler requested a review from dmolokanov February 14, 2020 20:21
Copy link
Owner

@dmolokanov dmolokanov left a comment

Choose a reason for hiding this comment

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

Good work. Thanks Joe!

@dmolokanov dmolokanov merged commit 680a96d into dmolokanov:master Feb 15, 2020
@ranweiler ranweiler deleted the severity-level branch February 15, 2020 18:11
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

Successfully merging this pull request may close these issues.

Trace events cannot be sent due to invalid severityLevel field
2 participants