Todo repository protocol #8

Merged
javier merged 11 commits from app/repository-protocol into main 2026-02-11 18:22:26 +00:00
11 Commits
Author SHA1 Message Date
javier 546985bd98 Fixed issues encountered in the unit tests target after the project transitioned to Swift 6 and strict concurrency. 2026-02-11 19:15:56 +01:00
javier e9e091c4d5 Updated the project to use Swift 6 and strict concurrency. 2026-02-11 18:56:54 +01:00
javier 097b0fc23d Removed unused imports from the TodoGroupTests, ContextViewModelTests and TaskGroupListViewModelTests tests in the unit tests target. 2026-02-11 18:39:54 +01:00
javier 3dab65ce0a Updated the cases of the TaskListViewModelTests tests in the unit tests target to use the MockTodoRepository class instead. 2026-02-11 18:38:07 +01:00
javier 12eec3059c Updated the cases of the NewTaskViewModelTests tests in the unit tests target to use the MockTodoRepository class instead. 2026-02-11 18:34:21 +01:00
javier 9c8a7bd465 Implemented the MockTodoRepository repository in the unit tests target. 2026-02-11 18:29:29 +01:00
javier 8772635ad9 Renamed the Repository protocol in the app target as TodoRepository. 2026-02-11 18:04:36 +01:00
javier 61adf5387f Updated the "delete(_: at: from: )" function of the TaskListViewModel view model in the app target to use the Repository protocol instead. 2026-02-11 17:49:19 +01:00
javier 85bd3f6a38 Updated the "save(to: )" function of the NewTaskViewModel view model in the app target to use the Repository protocol instead. 2026-02-11 17:47:40 +01:00
javier fb8815dafc Conformed the ModelContext from SwiftData to the Repository protocol in the app target. 2026-02-11 17:46:34 +01:00
javier 48f8f5d5c2 Defined the Repository protocol in the app target. 2026-02-11 17:44:44 +01:00