Skip to content

Better middlewares DX #45

Description

@Mararok

Fastify middie are using raw nodejs request and response objects - decorating this objects are expensive and cookies
are not parsed here.

Fastify hooks are better and can be used as global and per route. Additionally hooks can be implmented with ordering by priority.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions