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

Found some breaking changes since Hapi v19 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hk7math
Copy link

@hk7math hk7math commented Aug 15, 2020

Coming from this Future Studio tutorial for Hapi ( https://futurestud.io/tutorials/hapi-extend-your-server-functionality-with-plugins), the snippets failed to run so I did some digging and wanna contribute a bit:

  • Dependency names have prefix '@hapi/'
  • Registering plugins requires key 'plugin' instead of 'register'
  • Good options seem self-contradicting? i.e. ops is set at interval 1000 but reporters exclude the ops arg

Coming from this Future Studio tutorial for Hapi ( https://futurestud.io/tutorials/hapi-extend-your-server-functionality-with-plugins), the snippets failed to run so I did some digging and wanna contribute a bit:
- Dependency names have prefix '@hapi/'
- Registering plugins requires key 'plugin' instead of 'register'
- Good options seem self-contradicting? i.e. ops is set at interval 1000 but reporters exclude the ops arg
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