Description
Hi all.
When I have the following case, routing controllers fails and try to execute both functions:
@JsonController()
export class UserController {
@Get("/users/me")
getMe() {
const id = 1;
return userRepository.findById(id);
}
@Get("/users/:id")
getOne(@Param("id") id: number) {
return userRepository.findById(id);
}
}
As far as I read it should execute first occurency not both.
Thanks!