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

Coercion of custom attributes #205

Merged
merged 3 commits into from
Mar 26, 2020
Merged

Conversation

binaryseed
Copy link
Collaborator

This PR handles user-supplied attributes of types that aren't normally JSON serializable.

A set of types we can easily inspect or to_string to get a meaningful value. Another set we reject since we can't serialize it to JSON in a meaningful way - like tuples / functions.

@binaryseed binaryseed changed the base branch from master to 1.18 March 26, 2020 23:28
@binaryseed binaryseed merged commit 6465a06 into newrelic:1.18 Mar 26, 2020
@binaryseed binaryseed deleted the binary-data branch March 26, 2020 23:30
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.

1 participant