-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(api,api-client): Add environmentSlug in multiple places across the secret module #509
fix(api,api-client): Add environmentSlug in multiple places across the secret module #509
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
7530efe
to
623b13f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #509 +/- ##
===========================================
- Coverage 91.71% 87.64% -4.08%
===========================================
Files 111 105 -6
Lines 2510 2743 +233
Branches 469 415 -54
===========================================
+ Hits 2302 2404 +102
- Misses 208 339 +131
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
## [2.7.0](v2.6.0...v2.7.0) (2024-11-05) ### 🚀 Features * **cli:** Add functionality to operate on Variables ([#514](#514)) ([32d93e6](32d93e6)) * **platform:** Create ui link for resend otp ([#489](#489)) ([46eb5c5](46eb5c5)) ### 🐛 Bug Fixes * **api,api-client:** Add environmentSlug in multiple places across the [secure] module ([#509](#509)) ([ee58f07](ee58f07)) * **cli:** Removed unnecessary console log in [secure]s ([#515](#515)) ([9403cc4](9403cc4)) ### 🔧 Miscellaneous Chores * Fixed lint issues ([835397a](835397a)) * Minor housekeeping ([922bf31](922bf31)) * Update eslint ([c583718](c583718)) * Update eslint ([7c0c596](7c0c596)) * Update pnpx commands to pnpm dlx ([#511](#511)) ([534a231](534a231))
🎉 This PR is included in version 2.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
User description
Description
Add environmentSlug in multiple places across the secret module
Fixes #486
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Enhancement, Tests
Description
environmentSlug
alongsideenvironmentId
in various places.id
andslug
for environments.environment
details in secret versions.environment.id
andenvironment.slug
.Changes walkthrough 📝
secret.e2e.spec.ts
Add tests for environment slug and id in secret versions
apps/api/src/secret/secret.e2e.spec.ts
environment.id
andenvironment.slug
in secretversions.
environment
in the Prisma query for secret versions.secret.spec.ts
Add tests for environment slug and id in API client
packages/api-client/tests/secret.spec.ts
environment.id
andenvironment.slug
in APIclient.
environment
variable for test setup.secret.service.ts
Include environment slug and id in secret service
apps/api/src/secret/service/secret.service.ts
environment.id
andenvironment.slug
.secret.types.d.ts
Update secret types to include environment slug
packages/api-client/src/types/secret.types.d.ts
Secret
andUpdateSecretResponse
interfaces to includeenvironment
object.slug
to theenvironment
object in types.