guardian
guardian copied to clipboard
Propagate context to repositories
Summary
Currently, almost all of the methods in repository doesn't accept ctx while it is necessary to pass so that for one request can share the same context
Proposed solution
Accept context.Context in repositories and use in db db.WithContext(ctx)