Skip to content

refactor: remove any casts for prisma client models#853

Open
Peaostrel wants to merge 1 commit into
MettaChain:mainfrom
Peaostrel:feature/issue-769-prisma-types
Open

refactor: remove any casts for prisma client models#853
Peaostrel wants to merge 1 commit into
MettaChain:mainfrom
Peaostrel:feature/issue-769-prisma-types

Conversation

@Peaostrel

@Peaostrel Peaostrel commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Closes #769


Description

Resolves #769.

Updated Prisma client types by running db:generate and removed all legacy (this.prisma as any) typecasts across various services to enforce strict type checking on the newly generated models.

Changes

  • src/commissions/commissions.service.ts: Removed any casts.
  • src/support-tickets/support-tickets.service.ts: Removed any casts.
  • src/properties/properties.service.ts: Removed any casts.
  • src/duplicate-detection/duplicate-detection.service.ts: Removed any casts.
  • src/transactions/transaction-reminders.service.ts: Removed a lingering any cast.
  • (admin.service.ts and transaction-notes.service.ts were already clean).

@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Peaostrel Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[F1] Replace (this.prisma as any) casts across service files

1 participant