PSA : always check the verb of your postman requests before you go on a wild witch hunt to find out which controller is at fault.
😁3
here is a type safe way to do a try catch.
im trying to avoid
/* eslint-disable @typenoscript-eslint/ban-ts-comment */
//@ts-nocheck
on all the ts files i write
like if im using ts , i might as well use types lol
im trying to avoid
/* eslint-disable @typenoscript-eslint/ban-ts-comment */
//@ts-nocheck
on all the ts files i write
like if im using ts , i might as well use types lol
me , does a big refactor because i thought problem was inefficient code
problem : just a typo
me : well , i guess i have a better codebase now.
problem : just a typo
me : well , i guess i have a better codebase now.
😁1
do this if you are working with mongoose schemas , registering them in their own files is bad because sometimes those files might not get imported in order so you can just control execution by putting an export of the models right after the connect function
Right instead of left
Right instead of left
👍2
Do you want to hear more about the dev / design breakthroughs i come across or like are you scared of code ?
Anonymous Poll
86%
I like seeing your approaches
11%
I dont get most of them since i dont use your stack
7%
I dont get them since you get convoluted sometimes
14%
Not interested in code at all , just here to have fun