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

refactor: Remove core dependency #10

Merged
merged 6 commits into from
Jan 16, 2024
Merged

refactor: Remove core dependency #10

merged 6 commits into from
Jan 16, 2024

Conversation

PhilippeWeidmann
Copy link
Member

@PhilippeWeidmann PhilippeWeidmann commented Jan 10, 2024

Some code was brought back from core to prevent interlocking dependencies and responsability spreading.

This is a breaking change, core analog PR is here Infomaniak/ios-core#92

Copy link
Contributor

@adrien-coye adrien-coye left a comment

Choose a reason for hiding this comment

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

I did a quick review, I have not finished, will tomorrow morning.

I agree with fighting responsability spreading in general, here the idea was to keep our core-ios with the least dependencies possible.

If there exists a need to decouple more auth and core, we can probably abstract some more if we have the time. I would argue this is orthogonal of having login as a dependency of core.

Copy link
Contributor

@adrien-coye adrien-coye left a comment

Choose a reason for hiding this comment

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

All good here 👍

Sources/InfomaniakLogin/Config.swift Show resolved Hide resolved
Sources/InfomaniakLogin/InfomaniakLogin.swift Outdated Show resolved Hide resolved
login-Example/login-Example/AppDelegate.swift Show resolved Hide resolved
Copy link

sonarcloud bot commented Jan 16, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@PhilippeWeidmann PhilippeWeidmann merged commit e5ad694 into master Jan 16, 2024
7 checks passed
@PhilippeWeidmann PhilippeWeidmann deleted the login-refactor branch January 16, 2024 09:40
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