Skip to content

Migrates to Zod v4#7005

Merged
MartinM85 merged 1 commit intopnp:mainfrom
waldekmastykarz:zod4
Dec 22, 2025
Merged

Migrates to Zod v4#7005
MartinM85 merged 1 commit intopnp:mainfrom
waldekmastykarz:zod4

Conversation

@waldekmastykarz
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
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.

Quick review. Nothing major, but maybe I overlooked something.

Comment thread docs/docs/contribute/new-command/build-command-logic.mdx Outdated
Comment thread src/m365/app/commands/app-open.ts
Comment thread docs/docs/contribute/new-command/build-command-logic.mdx
Comment thread src/m365/entra/commands/roledefinition/roledefinition-get.ts Outdated
Comment thread src/m365/entra/commands/roledefinition/roledefinition-remove.ts Outdated
Comment thread src/m365/graph/commands/openextension/openextension-get.ts
Comment thread src/m365/graph/commands/openextension/openextension-list.ts
Comment thread src/m365/graph/commands/openextension/openextension-remove.ts
Comment thread src/m365/graph/commands/openextension/openextension-set.ts
Comment thread src/m365/outlook/commands/mailbox/mailbox-settings-set.ts
@waldekmastykarz
Copy link
Copy Markdown
Member Author

Thanks for the feedback @MartinM85! Very keen eye!

@waldekmastykarz waldekmastykarz marked this pull request as ready for review November 15, 2025 09:47
@MartinM85 MartinM85 self-assigned this Nov 26, 2025
Copy link
Copy Markdown
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.

Just a few minor suggestions from my side...using z.uuid() instead of z.string() in several commands.

Comment thread src/m365/commands/login.ts
Comment thread src/m365/exo/commands/approleassignment/approleassignment-add.ts
Comment thread src/m365/graph/commands/openextension/openextension-add.ts
Comment thread src/m365/graph/commands/openextension/openextension-get.ts
Comment thread src/m365/graph/commands/openextension/openextension-remove.ts
Comment thread src/m365/graph/commands/openextension/openextension-set.ts
Comment thread src/m365/outlook/commands/mailbox/mailbox-settings-set.ts
@MartinM85 MartinM85 marked this pull request as draft November 26, 2025 13:58
@waldekmastykarz
Copy link
Copy Markdown
Member Author

Thanks @MartinM85. I wanted to keep the migration limited to just the necessary changes, but we can include the improvements you suggested too.

@MartinM85
Copy link
Copy Markdown
Contributor

Thanks @MartinM85. I wanted to keep the migration limited to just the necessary changes, but we can include the improvements you suggested too.

Hi @waldekmastykarz, in that case just ignore my suggestions.

Copy link
Copy Markdown
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.

Great work @waldekmastykarz 🚀
Approved. I will merge it manually.

@MartinM85 MartinM85 merged commit fe31e6a into pnp:main Dec 22, 2025
8 checks passed
@waldekmastykarz waldekmastykarz deleted the zod4 branch December 22, 2025 14:49
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.

2 participants