falconry / falconry/falcon

Conflicting URI templates

Open
#663 6 comments 0 reactions 0 assignees View on GitHub
documentation enhancement proposal
Dominant language
Python
Stars
9.8k
Forks
1k
Avg merge
5d 13h
Merged PRs (30d)
7

Description

Hi,

I'm trying to implement the following two resources

```
/foo/{id}
/foo/{id}/bar
```

But when adding the second route, falcon complains with an error: "The URI template for this route conflicts with another route's template".

I had seen some progress on similar issues (#564, #647) but I'm not sure if these fixes work for the described pattern too or when this will be merged/released.

So, is there any kind of workaround for the described URI patterns?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.