Skip to content

Conversation

@sanderblue
Copy link
Contributor

In some API scenarios, omitting a false value from serialized JSON causes the field to be ignored by the API. By removing omitempty from the JSON tags, this ensures a boolean value is always present.

Related to newrelic/newrelic-client-go #959

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.

2 participants