type-graphql icon indicating copy to clipboard operation
type-graphql copied to clipboard

Debug logs

Open visheshd opened this issue 5 years ago • 1 comments

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.

visheshd avatar Jul 02 '19 01:07 visheshd

#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.

MichalLytek avatar Jul 03 '19 16:07 MichalLytek