-
-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug(URI template): allow complex vars coexist with simple var
Allow situation like this: ```python api.add_route('/files/{file_id}', resource_1) api.add_route('/files/{file_id}.{ext}', resource_2) ``` Which ValueError was raised due to only one var node was allowed whether other nodes are complex or not. This fix changes the behaviour so now it only applys to simple vars. See #564
- Loading branch information
1 parent
bc470f6
commit e6e2d5a
Showing
2 changed files
with
60 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters