-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
feat(api,cli,api-client,schema): Make get secret and get variable response to be consistent with their getAll #625
base: develop
Are you sure you want to change the base?
Conversation
Fix implementation for get all workpace invitation client. Fixes keyshade-xyz#553
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Description
Created methods under common directory to parse the prisma response to required ones.
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Enhancement, Bug fix, Tests
Description
Refactored
Secret
andVariable
schemas to include nested structures for consistency.Updated API and CLI logic to align with new schema structure.
Enhanced test cases to validate updated schema and API responses.
Fixed workspace invitation client implementation and pagination issues.
Changes walkthrough 📝
9 files
Updated tests for Variable schema structure changes.
Updated tests for Secret schema structure changes.
Adjusted project controller tests for schema updates.
Updated Secret controller tests for schema changes.
Updated Variable controller tests for schema changes.
Updated Event controller tests for schema changes.
Updated API client Variable tests for schema changes.
Updated API client Secret tests for schema changes.
Updated API client Event tests for schema changes.
9 files
Refactored Secret schema to include nested structures.
Refactored Variable schema to include nested structures.
Refactored Variable service to use new schema structure.
Refactored Secret service to use new schema structure.
Added helper for Secret response transformation.
Added helper for Variable response transformation.
Updated CLI Secret creation to use new schema.
Updated CLI Variable creation to use new schema.
Updated Event schema to align with new Secret and Variable structures.
2 files
Fixed workspace invitation tests for pagination issues.
Fixed workspace invitation client pagination logic.
2 files