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

[FFM-1355]: SDK doesn't support multiple custom attributes and name no… #40

Merged
merged 2 commits into from
Sep 8, 2021

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.

…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.

None yet

1 participant