raystack / frontier

Frontier is an all-in-one user management platform that provides identity, access and billing management to help organizations secure their systems and data. (Open source alternative to Clerk)
https://raystack-frontier.vercel.app/
Apache License 2.0
264 stars 34 forks source link

chore: use sub-functions in product update, use model level methods for usage/seat checks #651

Closed anujk14 closed 3 months ago

anujk14 commented 3 months ago

Model methods added

Change in update product

Moved feature-related changes to a separate method in the same service. This makes it easier to read the core flow of updating products, without having too many details of each step up-front

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontier ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2024 11:21am
coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9596536088

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
billing/checkout/service.go 0 8 0.0%
billing/product/product.go 0 11 0.0%
billing/product/service.go 0 26 0.0%
<!-- Total: 0 45 0.0% -->
Files with Coverage Reduction New Missed Lines %
billing/checkout/service.go 3 0.0%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 9567661444: -0.001%
Covered Lines: 9993
Relevant Lines: 106389

💛 - Coveralls