Skip to content
This repository was archived by the owner on Sep 18, 2019. It is now read-only.
This repository was archived by the owner on Sep 18, 2019. It is now read-only.

Check for existing decoration? #415

@gordysc

Description

@gordysc

In some rare circumstances, I've wanted to register a plugin that calls server.decorate() on multiple connections at once (hapijs/cookie#119). It'd be super useful to have some way to check if a decoration existed already or opt-in to having server.decorate() not throw an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions