Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add name to plugin (#1) #199

Merged
merged 4 commits into from
Jan 6, 2021
Merged

Add name to plugin (#1) #199

merged 4 commits into from
Jan 6, 2021

Conversation

matthew-charles-chan
Copy link
Contributor

Summary

  • Name the plugin 'point-of-view' so it can be required as a plugin dependency.
  • Add instructions for requiring point-of-view as a plugin dependency in README.md.
  • Create test for name registration

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

index.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
add fastify.register to the example
add comma after "fastify-plugin"
@matthew-charles-chan
Copy link
Contributor Author

@mcollina, Is it be possible to get this PR merged? It would be nice to be able to explicitly require this plugin as a dependency. Thanks!

@jsumners jsumners requested review from kibertoad and Eomm January 6, 2021 20:11
Copy link
Member

@kibertoad kibertoad left a comment

Choose a reason for hiding this comment

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

LGTM

@kibertoad kibertoad merged commit eeb4c87 into fastify:master Jan 6, 2021
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.

5 participants