Closed quinlanjager closed 4 years ago
Thank you for reporting. This definitely appears like a bug. The issue seems to be that we never convert the internal first_name
and last_name
attribute names to firstName
and lastName
the LaunchDarkly service expects before sending these events.
This is now fixed in 1.0.0-beta3 release.
Describe the bug The LaunchDarkly erlang SDK notes that
first_name
andlast_name
are not custom attributes and are included outside of thecustom
object when produced by thenew_from_map
function. However, if the two fields are used, they are stripped by the server.To reproduce Steps to reproduce the behavior.
I'm running the library in Elixir so these were my steps:
In iex
Check the debugger on LaunchDarkly.
Expected behavior The expected behaviour should be the same as running
That is the first_name and last_name properties are used to set the reserved attributes on LaunchDarkly.
SDK version 1.0.0-beta2
Language version, developer tools
Elixir 1.9.4 Erlang 21.0
OS/platform
MacOS 10.14.16 Additional context Add any other context about the problem here.