Skip to content

fix: plugins may contain also tuples of <plugin, options>#157

Merged
Eomm merged 1 commit intofastify:mainfrom
gianmarco27:fix/plugins-type-definition
Oct 16, 2025
Merged

fix: plugins may contain also tuples of <plugin, options>#157
Eomm merged 1 commit intofastify:mainfrom
gianmarco27:fix/plugins-type-definition

Conversation

@gianmarco27
Copy link
Contributor

Hi there, terribly sorry about this, but I introduced a bug in typings with #156.
Luckily fastify tests were extensive enough to cover also what i missed.

I have added more tests to reproduce what was erroring in fastify and fixed the typing definition for the plugins parameter

Checklist

Copy link
Member

@Eomm Eomm left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of it!

@Eomm Eomm merged commit ad65ed5 into fastify:main Oct 16, 2025
14 checks passed
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