Skip to content

Conversation

davejohnston
Copy link
Contributor

…t set correctly

The Target builder replaces the attributes map with every new custom attribute. This means
we only ever could have one custom attribute.

Name was stored as a custom attribute instead of as a named field, the problem is if you have
the Java SDK using the same target, then it sends 'name' as a named field, and so conflicts with
custom attributes.

This PR fixes the issue with the custom attributes and ensures name is stored in a named field.

Dave Johnston added 2 commits September 8, 2021 19:35
…t set correctly

The Target builder replaces the attributes map with every new custom attribute.  This means
we only ever could have one custom attribute.

Name was stored as a custom attribute instead of as a named field, the problem is if you have
the Java SDK using the same target, then it sends 'name' as a named field, and so conflicts with
custom attributes.

This PR fixes the issue with the custom attributes and ensures name is stored in a named field.
@davejohnston davejohnston merged commit 2ee8cfb into harness:main Sep 8, 2021
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