Josh Calder

Results 34 comments of Josh Calder

Hi @Jun-Xiang Can you try upgrading to `@keystone-6/core` version `^4.0.0` and `@opensaas/keystone-nextjs-auth` version `^26.0.0`? and let me know if this is still happening?

Hey @earthwytch based on your config `NEXTAUTH_URL=http://localhost:3000/admin/api/auth` should work assuming there is nothing overriding the PORT of 3000. What do you see if you open a browser to http://localhost:3000/admin/api/auth ?

Could you try adding `isAccessAllowed: (context: KeystoneContext) => !!context.session,` to your `config.ui` So that it looks something like ```ts export default auth.withAuth( config({ db: { provider: 'mysql', url: process.env.DATABASE_URL, useMigrations:...

That great! I have just merged #266 which should resolve the error when `isAccessAllowed` is not defined. As for the second error, this would be something in your `resolver` function....

Hey @Thinkscape thanks for the info, just to confirm this is only when you use `getContext` in a custom GraphQL route handler in NextJS?

Yes, without #8403, it was impossible to use the document field with `getContext` with Next App Router, so #8403 was an initial step towards this. Still, you are correct, to...

This is most likely due to the Decimal validation expecting to be passed a decimal (`.lessThan` is not available on `number` or `string`). I am assuming if you passed a...

Nice work @iamandrewluca ! 💙

There is potenitally multiple versions of NextJs in your dependency tree. You could try using `overrides` to force a particular version of NextJS - I am using Turbo with NextJS...

Hey @gautamsi and @junaid33 Firstly, thanks for pushing this conversation forward. I haven't had much opportunity to play around with the inner workings of Keystone in a while, but I...