Skip to content

refactor: introduce appointment repository factory#236

Open
moreorover wants to merge 2 commits into
mainfrom
refactor/appointment-repository-factory
Open

refactor: introduce appointment repository factory#236
moreorover wants to merge 2 commits into
mainfrom
refactor/appointment-repository-factory

Conversation

@moreorover

Copy link
Copy Markdown
Owner

Summary

  • Convert the appointment repository to a factory that accepts an optional Db/Tx once
  • Add an appointment service factory for dependency injection in tests
  • Update transaction appointment lookup to use the new repository object

Validation

  • vp check
  • vp run --filter @prive-admin-tanstack/application test
  • vp run --filter @prive-admin-tanstack/api test
  • vp run --filter @prive-admin-tanstack/db check-types

Note: root vp test currently picks up stale .worktrees/* and dist test files and fails outside this change scope.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions Bot added the db label Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant