Closed targos closed 3 years ago
I picked the Awaited
type from https://devblogs.microsoft.com/typescript/announcing-typescript-4-1/#recursive-conditional-types
Little confused. I have apps running where user
infers correctly to the User instance and not the promise.
this bug was introduced yesterday, have you already updated these apps to v6.0.0?
Ohhh. Can you point me to the commit that introduced this issue (For my reference)?
I don't have access to CircleCI. What's the error?
Can you also upgrade to the recent version of @poppinss/hooks
for the tests to pass?
Re: I don't have access to CircleCI. What's the error?
I think they want you to have an account with them and Login. As per https://discuss.circleci.com/t/circleci-builds-remain-private-after-making-github-repo-public/36702/3
done
I don't really want to create an account with them.
Thanks 👍
Without this change,
ctx.auth.user
returns a Promise, because that's the return type ofgetUserFor
.