Skip to content

server.inject and registered server methods #130

@blakmatrix

Description

@blakmatrix

I would like to spend 10 minutes talking about when and when to not use server.inject(options, callback) and when to use server.method(name, fn, [options]) in the Hapi.js framework. This talk is inspired by issues discovered when using server.inject "improperly", my angle is to educate Hapi users on server.inject, discuss the pitfall/temptations, and to discuss some acceptable solutions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions