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

Complete migration to swift-dependencies #3469

Open
finestructure opened this issue Oct 31, 2024 · 0 comments
Open

Complete migration to swift-dependencies #3469

finestructure opened this issue Oct 31, 2024 · 0 comments

Comments

@finestructure
Copy link
Member

We've begun the transition to the @Dependency mechanism with PR #3399 where we converted the single function dependency

    var date: @Sendable () -> Date

to use the built in

        @Dependency(\.date.now) var now

mechanism.

A follow up PR #3438 does the some for a group of dependencies that are part of what's typically modelled in a "client" via the @DependencyClient macro.

These are basically the two types of dependencies we need to replace.

Once we have completed this transition, i.e. eliminated all of AppEnvironment, we have the opportunity to run tests that use dependencies in parallel.

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

No branches or pull requests

1 participant