Skip to content

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