Skip to content

feat: register on initialization#22

Merged
metcoder95 merged 1 commit intofastify:mainfrom
kinolaev:feat-registeroninitialization
Feb 20, 2025
Merged

feat: register on initialization#22
metcoder95 merged 1 commit intofastify:mainfrom
kinolaev:feat-registeroninitialization

Conversation

@kinolaev
Copy link
Contributor

This PR introduces registerOnInitialization option to automatically register the plugin using fastify.initialization hook.

Checklist

@kinolaev kinolaev force-pushed the feat-registeroninitialization branch from 182ac40 to 6938867 Compare February 18, 2025 12:16
Copy link
Member

@metcoder95 metcoder95 left a comment

Choose a reason for hiding this comment

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

lgtm

@metcoder95
Copy link
Member

lint seems failing

@kinolaev kinolaev force-pushed the feat-registeroninitialization branch from 6938867 to f788f19 Compare February 19, 2025 11:49
@kinolaev
Copy link
Contributor Author

Hello @metcoder95 , the lint issues are fixed

Copy link

@emmanuel-adu emmanuel-adu left a comment

Choose a reason for hiding this comment

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

lgtm

@metcoder95 metcoder95 merged commit 896ba63 into fastify:main Feb 20, 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.

how would it work with zero-code-change instrumentation pattern?

3 participants