Closed CaselIT closed 2 years ago
As a datapoint, it does not seem very used, https://github.com/search?q=compile_uri_template&type=code
My vote goes to deprecation followed by leaving as is.
The story behind it (found by @CaselIT): https://github.com/falconry/falcon/issues/532.
I would vote for deprecation and subsequent removal in a next major version. We could move it to some sort of add-ons or "talons" package if anyone still needs it.
do you think we can deprecate it in v3 for removal in v4?
Yes, we can. Preferably we should surface a deprecation warning in at least a couple of minor versions, like 3.1 and 3.2.
@dukedougal it is not unlikely that we might decide to deprecate and eventually remove this method. As per https://github.com/falconry/falcon/issues/532#issuecomment-98237528, are you still relying on this method in your codebase?
Fixed in #1971
The
compile_uri_template()
function is not consistent with compiled router regarding tailing slash.Originally posted by @vytas7 in https://github.com/falconry/falcon/pull/1961#pullrequestreview-777018325
The options may be