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

chore: expose session id setter #171

Merged
merged 5 commits into from
Aug 29, 2024
Merged

Conversation

marandaneto
Copy link
Member

@marandaneto marandaneto commented Aug 28, 2024

💡 Motivation and Context

follow up #170

Renamed PostHogSessionManager to PostHogStorageManager because it was more about reading/caching things from the storage.
Created a new PostHogSessionManager which is responsible for all session Id related

💚 How did you test it?

unit tests already exist and they are green, just refactoring and exposing the session id (setter) via an internal class instead of the public API

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

@marandaneto marandaneto marked this pull request as ready for review August 28, 2024 11:44
@marandaneto marandaneto requested a review from a team August 28, 2024 11:45
Copy link
Contributor

@neilkakkar neilkakkar left a comment

Choose a reason for hiding this comment

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

looks like code 🚀

@marandaneto marandaneto merged commit 939a349 into main Aug 29, 2024
10 checks passed
@marandaneto marandaneto deleted the chore/expose-session-setter branch August 29, 2024 09:28
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