Skip to content

prismy-params #6

@Rokt33r

Description

@Rokt33r

Extract params from pathname via https://github.com/pillarjs/path-to-regexp

class MyHandler {
  handle(@Params('/posts/:postId') params: {postId?: string}) {
    ...
  }
}

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