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

feat: Add option to omit anonymous users from index and identify events #87

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

keelerm84
Copy link
Member

No description provided.

@keelerm84 keelerm84 requested a review from a team as a code owner August 23, 2024 16:32
_anyValidKey -> do
let identifyContext = optionallyRedactAnonymous (getField @"config" client) context
case identifyContext of
(Invalid err) -> clientRunLogger client $ $(logWarn) $ "identify called with an invalid context: " <> err
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we going to log this whenever a single anonymous context is identified, or when a multi-context composed of only anonymous contexts is identified?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. This probably shouldn't log at all since it doesn't really matter.

@keelerm84 keelerm84 requested a review from kinyoklion August 23, 2024 17:05
@keelerm84 keelerm84 merged commit 85e512a into main Aug 23, 2024
8 checks passed
@keelerm84 keelerm84 deleted the mk/sc-254244/no-index branch August 23, 2024 18:41
keelerm84 pushed a commit that referenced this pull request Sep 5, 2024
🤖 I have created a release *beep* *boop*
---


##
[4.2.0](4.1.0...4.2.0)
(2024-08-23)


### Features

* Add option to omit anonymous users from index and identify events
([#87](#87))
([85e512a](85e512a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: LaunchDarklyReleaseBot <LaunchDarklyReleaseBot@launchdarkly.com>
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