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

- fix: removed circular dependencies #1144

Merged
merged 3 commits into from
Oct 27, 2020

Conversation

alexnaiman
Copy link
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

I checked for circular dependencies using madge . --extensions ts,tsx -c --warning and fixed the issue (moved one interface to its own module)

💡 Motivation and Context

This PR started as a fix for #479, but that issue isn't available anymore, but since I found other cyclic dependencies I removed those

💚 How did you test it?

I didn't introduce any major changes, just remade some imports. I just run all the existent tests

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing
  • No breaking changes

🔮 Next steps

I am looking forward to someone to merge this and maybe add the hacktoberfest-accepted label to it 😄

Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for improving this.
I left 1 note.

src/js/backend.ts Outdated Show resolved Hide resolved
@bruno-garcia bruno-garcia added the Hacktoberfest-accepted Accept for Hacktoberfest - will merge later label Oct 26, 2020
@bruno-garcia
Copy link
Member

Label added :)

@alexnaiman
Copy link
Contributor Author

Done! Thanks a lot for the label :)

Copy link
Member

@jennmueng jennmueng left a comment

Choose a reason for hiding this comment

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

This looks good to me.

FYI the e2e tests will fail as non-Sentry-member PRs don't have access to Github Secrets, don't worry about that.

Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

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

LGTM! THanks!

@bruno-garcia bruno-garcia merged commit 5bcf237 into getsentry:master Oct 27, 2020
@marandaneto marandaneto mentioned this pull request Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest-accepted Accept for Hacktoberfest - will merge later
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants