Skip to content

Create Middleware to extract TeamId and add it to the context #47

@christianhelp

Description

@christianhelp

We should find all of the places where we can extract a teamId from and if found, we would want to validate that it is not some insanely long value or something weird and then add it to the context. I think some routes would not know their teamId until later on in the logic of the route it self where for those, we would need to set it in the route handler, but we should try to make this as seamless as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DatabaseServerAnything related to the Hono backend server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions