Skip to content

Next: Disallow decorate('name', null) in the types#4878

Merged
climba03003 merged 2 commits intofastify:nextfrom
voxpelli:voxpelli/drop-deprecate-null
Jul 7, 2023
Merged

Next: Disallow decorate('name', null) in the types#4878
climba03003 merged 2 commits intofastify:nextfrom
voxpelli:voxpelli/drop-deprecate-null

Conversation

@voxpelli
Copy link
Contributor

@voxpelli voxpelli commented Jul 4, 2023

Follow up to #4874

Preferred to use decorate('name') , decorateRequest('name'), decorateReply('name') variants instead

Deprecation prior to dropping is not feasible because of microsoft/TypeScript#54872

Checklist

Preferred to use `decorate('name')` , `decorateRequest('name')`, `decorateReply('name')` variants instead

Deprecation not feasible because of microsoft/TypeScript#54872

Follow up to fastify#4874
@github-actions github-actions bot added the typescript TypeScript related label Jul 4, 2023
Signed-off-by: Pelle Wessman <pelle@kodfabrik.se>
@voxpelli voxpelli marked this pull request as ready for review July 4, 2023 11:39
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@climba03003 climba03003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@climba03003 climba03003 merged commit 61b8f2a into fastify:next Jul 7, 2023
@github-actions
Copy link

github-actions bot commented Jul 8, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

typescript TypeScript related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants