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

♻️ [RUMF-1267] remove circular dependencies part 1 #1559

Merged
merged 7 commits into from
May 24, 2022

Conversation

BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented May 23, 2022

Motivation

This is the first part of removing circular dependencies in the codebase. To limit the discussion scope, I chose to do the Internal Monitoring-related changes in a speparate PR.

Changes

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

By splitting imports, we import less stuff, which removes a few cycles
Move `shouldIgnoreNode` to `privacy` module. `shouldIgnoreNode` is only
used in `privacy`, so it makes sense to put it there.
Move session constants to a separate module
Move the utility function to check if an URL is a SDK bundle URL into a
new utility module.
Move `flushEvents` in the `framework`, as it is both using `framework`
functions and is used by the `framework`.
@BenoitZugmeyer BenoitZugmeyer marked this pull request as ready for review May 23, 2022 14:45
@BenoitZugmeyer BenoitZugmeyer requested review from a team as code owners May 23, 2022 14:45
@BenoitZugmeyer BenoitZugmeyer changed the title [RUMF-1267] remove circular dependencies part 1 ♻️ [RUMF-1267] remove circular dependencies part 1 May 23, 2022
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.

3 participants