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

add empty and null guard for Event #221

Merged
merged 3 commits into from
Aug 28, 2020

Conversation

tbradellis
Copy link
Contributor

Grabbing this:
#195

Just adds a check on the first Event constructor that has eventType as a parameter which will always be called or will have already been called if creating from an Event.

Copy link
Contributor

@breedx-nr breedx-nr left a comment

Choose a reason for hiding this comment

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

Thanks @tbradellis ! Please add a test to demonstrate both behaviors and this will be good to go. 🤘

@tbradellis tbradellis force-pushed the bellis/guard-eventType branch from 45db95c to e50e908 Compare August 26, 2020 12:33
@breedx-nr breedx-nr merged commit 37538a8 into newrelic:main Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants