Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
Reducer.dependency(value)
(#2863)
This new reducer operator can be used to directly assign a dependency key value to the reducer's dependencies. ```swift // Before; @dependency(\.apiClient) var apiClient // ... .dependency(\.apiClient, apiClient) // After: @dependency(APIClient.self) var apiClient // ... .dependency(apiClient) ```
- Loading branch information