Skip to content

Context params #368

@dandeduck

Description

@dandeduck

I wanted to receive ctx : Context on my controllers, but it turns out that it lacks some fields compared to any, such as ctx.params. I saw a similar issue where the issuer was told to use ctx.request.url.searchParams but it was always empty, even when ctx.params wasn't. Is there a way to get it without using the any type? I assume that I am missing something...

If you want to take a look at the source code, it's in this project: https://github.com/dandeduck/weebify-leaderboard under the development branch

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