The Wayback Machine - https://web.archive.org/web/20250409215856/https://github.com/falconry/falcon/issues/1967
Skip to content

Deprecate compile_uri_template() #1967

Closed
@CaselIT

Description

@CaselIT

The compile_uri_template() function is not consistent with compiled router regarding tailing slash.

I don't know either what the plan for compile_uri_template() is. I think it is left as a utility method for building custom routers, and I suppose, may continue to exist as such.

This PR does a good job at explaining the status quo, so maybe let's just merge it, and create a new issue for making this method slightly more consistent with CompiledRouter.

Originally posted by @vytas7 in #1961 (review)

The options may be

  • to leave it as is, with the warning provided by the above referenced pr
  • add a flag to select what behaviour to have
  • deprecate and eventually remove it, since it's not used internally by falcon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueComment on this issue if you'd like to volunteer to work on this. Thanks!maintenance

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions