Skip to content

Conversation

matthyk
Copy link
Contributor

@matthyk matthyk commented Feb 8, 2024

This PR aims to discuss this idea. I have 2 motivations for the restructuring:

  • Previously, the types used internally were not exported. I think it is much more convenient if all types are simply exported, otherwise you have to stupidly rebuild the types for a TypeScript project
  • I had strange problems registering the fastifyOverview plugin in my TypeScript project. After this restructuring I had no more problems

I have followed the example of other Fastify plugins for the restructuring. See for example @fastify/postgres or @fastify/mongodb.

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.

1 participant