-
Notifications
You must be signed in to change notification settings - Fork 364
Migrate 'entra license list' to Zod Closes #6905 #6968
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
base: main
Are you sure you want to change the base?
Conversation
Thank you for opening the PR 🚀 |
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.
Hi @nirav-raval, thank you for the contribution.
Looks good overall, just a few tiny things to consider.
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.
Pull Request Overview
This PR migrates the entra license list
command to use Zod for schema validation, addressing issue #6905. This is part of a broader effort to standardize command validation using Zod across the CLI for Microsoft 365 codebase.
- Added Zod schema support to the EntraLicenseListCommand class
- Updated test file to validate the new schema implementation
- Enhanced test coverage with additional validation scenarios
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
src/m365/entra/commands/license/license-list.ts | Added Zod imports, schema definition, and schema getter method |
src/m365/entra/commands/license/license-list.spec.ts | Updated tests to use Zod schema validation and added new test cases |
Co-authored-by: Copilot <[email protected]>
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.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Co-authored-by: Copilot <[email protected]>
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.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
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.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Pull Request Title
Migrate 'entra license list' to Zod Closes #6905. Closes #6905
Linked Issue
Closes #6905