type-graphql
type-graphql copied to clipboard
Debug logs
Is your feature request related to a problem? Please describe. This is related to #12. Because the error messages at times are cryptic as things get fixed related to that issue; it might also be good to have debug logs available when needed so one can trace through the problem.
Describe the solution you'd like
I see loggers in the examples, something similar with different log levels using winston
or something else.
Describe alternatives you've considered Currently I am looking at the source code to trace through the issues.
#12 is for user error, like missing decorator, missing type, wrong name or sth like that.
For bug reports I need to have a debugger, a failing test case, a reproduction repo. Debug log is nice to have but very very low priority as it's not so useful.