When checking to see if the flag is contained in the set of available flags, don't just check the flagKeyMap which is only available if camelCaseKeys are used; also check the original flag keys and if the key is in there, continue on to variation().
Describe alternatives you've considered
Provide a clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the pull request here.
…sed keys map
Requirements
Related issues
https://github.com/launchdarkly/react-client-sdk/issues/180
Describe the solution you've provided
When checking to see if the flag is contained in the set of available flags, don't just check the
flagKeyMap
which is only available if camelCaseKeys are used; also check the original flag keys and if the key is in there, continue on tovariation()
.Describe alternatives you've considered
Provide a clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the pull request here.