- Moscow, Russia
- https://loyso.art
- Joined on
2024-02-10
Block a user
fix: critical bugs from code review (data corruption, error contract, HTTP hardening)
fix: critical bugs from code review (data corruption, error contract, HTTP hardening)
Review Responses
1.
internal/kurious/ports/http/server.go— Unify ErrNotFoundLet's unify ErrNotFound, why is there both, let's remove domain.ErrNotFound and move…
fix: critical bugs from code review (data corruption, error contract, HTTP hardening)
Need improvements
fix: critical bugs from code review (data corruption, error contract, HTTP hardening)
There are mocks in internal/kurious/domain/repository.go, mocked repository should not be in the domain package. Let's move mocks into adapaters.
fix: critical bugs from code review (data corruption, error contract, HTTP hardening)
Domain package shouldn't depend on any other package
fix: critical bugs from code review (data corruption, error contract, HTTP hardening)
Let's unify ErrNotFound, why is there both, let's remove domain.ErrNotFound and move completely to errors.ErrNotFound