Skip to content

Support lifecycle hooks #1

@sauramirez

Description

@sauramirez

preHook and postHook should be supported so services extending JoiService can pass options around. Very useful when you have a database service and need to run a process using a transaction.

execute
-> preHook()
-> process()
-> postHook()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions