New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Duplicate path parameters #829
Conversation
Add metadataGenerator#checkForPathParamSignatureDuplicates to examine duplicate path parameter define in same method. Add test controller & unit test. Refactor routeDuplicates.spec.ts to fit both duplicate route and path parameter.
Add two and three duplication in DuplicatePathParamTestController. Beautify output of error message.
refactor some test controller's route with same prefix, path param.
update expect in spec.ts. Add cases for `:` in route parameter. Add cases for positional detect cases. Add warning log when partial route duplicates.
@WoH I also add a warn log when some partial route is duplicate like:
more test cases also added. |
Add function enum to make method return value more readable. Rename _examinePaths method 's parameter for readability. Lint codes with prettier.
Is there a way to disable the warnings generated by |
All Submissions:
Closing issues
Closes #748