tercul-backend/internal/adapters/graphql
google-labs-jules[bot] 20da2199ba This commit addresses several outstanding tasks from TASKS.md.
- Fixes a potential panic in the background job queue by changing `log.Fatalf` to `log.Printf`, allowing for more graceful error handling.
- Implements all `panic("not implemented")` methods in the mock repositories for `Like`, `Work`, and `User`, enabling more robust testing.
- Consolidates duplicated `WorkAnalytics` and `TranslationAnalytics` structs into a central `internal/domain/analytics` package to reduce code duplication and improve maintainability.
- Corrects build errors that arose during testing, including an unused import and an incorrect struct field name in a mock repository.
2025-10-05 13:03:31 +00:00
..
model Fix: Correct authorization logic in integration tests 2025-10-04 23:48:44 +00:00
.keep I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
analytics_service_mock_test.go Fix: Correct authorization logic in integration tests 2025-10-04 23:48:44 +00:00
binding.go feat(analytics): Enhance analytics capabilities 2025-09-07 19:26:51 +00:00
book_integration_test.go Fix: Correct authorization logic in integration tests 2025-10-04 23:48:44 +00:00
errors.go feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
generated.go Fix: Correct authorization logic in integration tests 2025-10-04 23:48:44 +00:00
graphql_test_utils_test.go Fix: Correct authorization logic in integration tests 2025-10-04 23:48:44 +00:00
helpers.go This commit introduces goose as the database migration tool for the project, replacing the previous gorm.AutoMigrate system. It also includes several code quality improvements identified during the refactoring process. 2025-10-03 02:52:01 +00:00
integration_test.go Refactor: Improve quality, testing, and core business logic. 2025-10-05 09:41:40 +00:00
like_repo_mock_test.go This commit addresses several outstanding tasks from TASKS.md. 2025-10-05 13:03:31 +00:00
like_resolvers_unit_test.go feat: Complete all pending tasks from TASKS.md 2025-10-05 05:26:27 +00:00
resolver.go refactor: Refactor GraphQL tests to use mock-based unit tests 2025-10-03 09:21:41 +00:00
schema.graphqls Fix: Correct authorization logic in integration tests 2025-10-04 23:48:44 +00:00
schema.resolvers.go Refactor: Improve quality, testing, and core business logic. 2025-10-05 09:41:40 +00:00
validation.go feat: Implement production-ready API patterns 2025-10-04 18:16:08 +00:00
work_repo_mock_test.go This commit addresses several outstanding tasks from TASKS.md. 2025-10-05 13:03:31 +00:00