You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we do not allow for matching paths in resource templates, meaning that
@app.resource("test://{foo}")
will not match test://foo/bar. This is intended. However at times people want to explicitly match paths. FastAPI offers in this case a path convertor, such that
@app.resource("test://{foo:path}")
would match test://foo/bar.
We should consider adding a convertor approach or something similar to resource templates.
The text was updated successfully, but these errors were encountered:
Currently we do not allow for matching paths in resource templates, meaning that
will not match
test://foo/bar
. This is intended. However at times people want to explicitly match paths. FastAPI offers in this case apath
convertor, such thatwould match
test://foo/bar
.We should consider adding a convertor approach or something similar to resource templates.
The text was updated successfully, but these errors were encountered: