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

Ban circular dependencies #2822

Closed
wants to merge 5 commits into from

Conversation

Nokel81
Copy link
Collaborator

@Nokel81 Nokel81 commented May 19, 2021

  • ApiManager now creates the instances of all stores

  • ReleaseStore is Singleton-like

  • Move most types and helper functions into seperate files

Signed-off-by: Sebastian Malton sebastian@malton.name

Note: this currently uses webpack's CircularDependencyPlugin but once import-js/eslint-plugin-import#2083 has made its way into a release we should move to that as then we can get in-editor errors.

@Nokel81 Nokel81 added the chore label May 19, 2021
@Nokel81 Nokel81 added this to the 5.0.0 milestone May 19, 2021
@Nokel81 Nokel81 self-assigned this May 19, 2021
@Nokel81 Nokel81 requested a review from a team as a code owner May 19, 2021 20:40
@Nokel81 Nokel81 requested review from nevalla and ixrock and removed request for a team May 19, 2021 20:40
@Nokel81 Nokel81 force-pushed the ban-circular-dependencies branch from 76048e5 to 33422ce Compare May 19, 2021 21:08
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

- Prevents some circular dependencies

- Allowed main to use them as needed

Signed-off-by: Sebastian Malton <sebastian@malton.name>
- Helps moves towards turning on banning CyclicImports

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
- ApiManager now creates the instances of all stores

- ReleaseStore is Singleton-like

- Move most types and helper functions into seperate files

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
@github-actions
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@Nokel81
Copy link
Collaborator Author

Nokel81 commented May 20, 2021

Making this a draft since it requires some other PRs and I think I should focus on other things.

@Nokel81 Nokel81 marked this pull request as draft May 20, 2021 16:45
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@Nokel81 Nokel81 force-pushed the cleanup-ipc-registration branch 2 times, most recently from 574fae0 to a09ac6e Compare May 25, 2021 18:44
@Nokel81 Nokel81 closed this May 27, 2021
@Nokel81 Nokel81 deleted the ban-circular-dependencies branch May 27, 2021 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant