A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
66.89k
stars
7.56k
forks
source link
Controller function is not working might be something to do with scope? (really strange) #12717
Closed
sidharthpunathil closed 10 months ago
Is there an existing issue for this?
Current behavior
Controller function works if it's above other functions, otherwise it does not!
Youtube Video: https://youtu.be/1vLSRNCOXJY
Minimum reproduction code
https://gist.github.com/sidharthpunathil/796ff8230f45e1c0193ff174d736b0da
Steps to reproduce
No response
Expected behavior
The controller function should work anywhere
Package
Other package
No response
NestJS version
No response
Packages versions
Node.js version
No response
In which operating systems have you tested?
Other
No response