Daniel Choudhury

Results 107 comments of Daniel Choudhury

I think there's another piece missing (maybe) - how do you test a service if you're using the cache stuff? I'll have to try it to see, but it might...

> Do we properly set NODE_ENV to test when the test suite is running? Yes, I think we always have the environment set. We could also configure it in our...

Sure thing - I need to read up on it again too.

@cannikin good to go I think. Want to take one last look at the docs and merge?

Yarn master Dom at it again, nice one!

@Philzen are you using strict mode in TS? Thanks for the PR!

@rowin1125 thanks for raising this. I don't believe we've shipped strict mode support just yet, where we've solved some of these issues. You are welcome to try it in canary...

I do have multiple custom auth ones, but because I use them outside redwood, I don't have a need for a provider, just some additional logic in `getCurrentUser` in src/lib/auth.ts

Some additional context: 1. This error only seems to happen, when we try to customise the return type of `ResolverFn` from the default `Promise | TResult` I broke down how...

@n1ru4l so I found out later that it only happens when you customise the ResolverFn like this. So to reuse your playground, this is the change I had to make...