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: Move storage constructor to specific interface #48111

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Sep 16, 2024

Summary

That allows Wrappers to use DI and not care about the constructor

Checklist

@come-nc come-nc added the 3. to review Waiting for reviews label Sep 16, 2024
@come-nc come-nc added this to the Nextcloud 31 milestone Sep 16, 2024
@come-nc come-nc self-assigned this Sep 16, 2024
@come-nc come-nc force-pushed the fix/move-storage-constructor-to-specific-interface branch 2 times, most recently from 1fb60c1 to d17f5e8 Compare September 17, 2024 07:47
@come-nc come-nc added the pending documentation This pull request needs an associated documentation update label Sep 17, 2024
@come-nc come-nc requested review from susnux, a team, ArtificialOwl, Altahrim and Fenn-CS and removed request for a team September 17, 2024 13:29
That allows Wrappers to use DI and not care about the constructor

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the fix/move-storage-constructor-to-specific-interface branch from d17f5e8 to 94b0a0e Compare September 23, 2024 07:46
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

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

Makes sense 👍

lib/public/Files/Storage/IConstructableStorage.php Outdated Show resolved Hide resolved
come-nc and others added 2 commits September 23, 2024 11:42
…r parameter

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc merged commit 40b404c into master Sep 23, 2024
175 checks passed
@come-nc come-nc deleted the fix/move-storage-constructor-to-specific-interface branch September 23, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews pending documentation This pull request needs an associated documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove constructor from IStorage interface
3 participants