Skip to content

Allow colons to be used as regular characters in paths #171

@hecateball

Description

@hecateball

Describe the feature

Colons (:) in a path are currently interpreted as named parameters, but I would like a way to use them as regular characters.

For example, a notation for escaping colons in the path would be helpful. Alternatively, I would appreciate it if you could provide documentation for a suitable workaround.

API Improvement Proposals suggest using a colon to separate the resource name and the action name in the path for custom method APIs. It is difficult to implement such custom method APIs in h3 or Nitro, which use rou3. I understand that some workarounds exist, but they require writing unintuitive code, which undermines the benefits of rou3.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions