Closed Omri-Levy closed 1 month ago
Latest commit: a52878ee90572953747d8f2324bba777167290b5
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The recent changes primarily involve an update to the workflows service's Prisma data migrations and a modification in the BusinessReportRepository
class. The commit reference was updated, indicating potential improvements or fixes in the data migrations. Additionally, the count
method's parameter type was changed to focus on counting business reports instead of fetching them, optimizing the method for its intended purpose.
File Path | Change Summary |
---|---|
services/workflows-service/prisma/data-migrations |
Updated subproject commit reference from 6d7678b238c7b6f1aeaad80719e218629ed5e5bc to 8e8fd4440a89aa97861c7295b20fa17520d654dd , indicating potential enhancements or fixes. |
services/workflows-service/src/business-report/business-report.repository.ts |
Modified count method's type parameter from Prisma.BusinessReportFindManyArgs to Prisma.BusinessReportCountArgs , optimizing it for counting reports. |
sequenceDiagram
participant Client
participant BusinessReportRepository
participant Prisma
Client->>BusinessReportRepository: call count()
BusinessReportRepository->>Prisma: execute count query
Prisma-->>BusinessReportRepository: return count result
BusinessReportRepository-->>Client: return count result
🐰 In the garden of code, where changes bloom,
A count method dances, dispelling the gloom.
With each little tweak, our service grows bright,
Counting reports now, oh what a sight!
Hoppity hop, let the fixes take flight! ✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes