Skip to content

Conversation

nirav-raval
Copy link
Contributor

Pull Request Title
Migrate 'entra license list' to Zod Closes #6905. Closes #6905

Linked Issue
Closes #6905

@Adam-it
Copy link
Member

Adam-it commented Oct 4, 2025

Thank you for opening the PR 🚀
You Rock 🤩
We will review it ASAP 👍

@MartinM85 MartinM85 self-assigned this Oct 5, 2025
Copy link
Contributor

@MartinM85 MartinM85 left a 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.

@MartinM85 MartinM85 marked this pull request as draft October 5, 2025 18:43
@nirav-raval nirav-raval marked this pull request as ready for review October 19, 2025 22:09
@Copilot Copilot AI review requested due to automatic review settings October 19, 2025 22:09
Copy link

@Copilot Copilot AI left a 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

@nirav-raval nirav-raval requested a review from MartinM85 October 19, 2025 22:10
@Copilot Copilot AI review requested due to automatic review settings October 19, 2025 22:11
Copy link

@Copilot Copilot AI left a 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.

@Copilot Copilot AI review requested due to automatic review settings October 19, 2025 22:11
Copy link

@Copilot Copilot AI left a 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.

@Copilot Copilot AI review requested due to automatic review settings October 19, 2025 23:16
Copy link

@Copilot Copilot AI left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate 'entra license list' to Zod

3 participants