Skip to content

Replace warning to use implicitOptionality in @patch with deprecation#9884

Draft
timotheeguerin wants to merge 4 commits intomicrosoft:mainfrom
timotheeguerin:replace-patch-implicit-optionality-warning
Draft

Replace warning to use implicitOptionality in @patch with deprecation#9884
timotheeguerin wants to merge 4 commits intomicrosoft:mainfrom
timotheeguerin:replace-patch-implicit-optionality-warning

Conversation

@timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Mar 3, 2026

fix #7235

@microsoft-github-policy-service microsoft-github-policy-service bot added lib:http lib:rest lib:http-specs For issues/prs related to the @typespec/http-specs package meta:website TypeSpec.io updates emitter:openapi3 Issues for @typespec/openapi3 emitter labels Mar 3, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 3, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http@9884
npm i https://pkg.pr.new/@typespec/http-specs@9884
npm i https://pkg.pr.new/@typespec/openapi3@9884
npm i https://pkg.pr.new/@typespec/rest@9884

commit: cbc52ad

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

All changed packages have been documented.

  • @typespec/http-specs
  • @typespec/http
  • @typespec/rest
Show changes

@typespec/http-specs - internal ✏️

Add suppressions for deprecated behavior

@typespec/rest - internal ✏️

Add suppressions for deprecated behavior

@typespec/http - deprecation ✏️

Deprecate use of @patch(#{implicitOptionality: true}). Use the explicit MergePatch<T> for accurate json merge patch representation

@azure-sdk
Copy link
Collaborator

azure-sdk commented Mar 3, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

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

Labels

emitter:openapi3 Issues for @typespec/openapi3 emitter lib:http lib:http-specs For issues/prs related to the @typespec/http-specs package lib:rest meta:website TypeSpec.io updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove patch-implicit-optional notice warning

2 participants