Skip to content

Fixes plugin.autoConfig on export default#62

Merged
mcollina merged 1 commit into
fastify:masterfrom
fox1t:master
Feb 10, 2020
Merged

Fixes plugin.autoConfig on export default#62
mcollina merged 1 commit into
fastify:masterfrom
fox1t:master

Conversation

@fox1t

@fox1t fox1t commented Feb 6, 2020

Copy link
Copy Markdown
Member

Fixes #61

Checklist

  • run npm run test
  • tests and/or benchmarks are included
  • commit message and code follows Code of conduct

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@mcollina

mcollina commented Feb 6, 2020

Copy link
Copy Markdown
Member

@Ethan-Arrowood can you please check this?

@fox1t

fox1t commented Feb 6, 2020

Copy link
Copy Markdown
Member Author

@Ethan-Arrowood you can find the motivations of this PR here: #61

@Ethan-Arrowood

Copy link
Copy Markdown
Member

Sorry I missed this — will review tomorrow 😁

@SerayaEryn SerayaEryn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Ethan-Arrowood Ethan-Arrowood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good to me. As I understand it this code satisfies multiple export syntax for plugins and thats a good thing in regards to better developer experience. Good Work!

@mcollina mcollina merged commit 414133a into fastify:master Feb 10, 2020
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.

plugin.autoConfig not working with TypeScript compiled code

5 participants