keystone-nextjs-auth icon indicating copy to clipboard operation
keystone-nextjs-auth copied to clipboard

Keystone Removed generateNodeAPI Experimental Feature

Open StephenStrickland opened this issue 2 years ago • 1 comments

Hey Team,

A few days ago the Keystone team removed the experimental feature generateNodeAPI.

Since this package requires generateNodeAPI, what's the best next steps to supporting this breaking change?

PR removing the feature: https://github.com/keystonejs/keystone/pull/7957

Definitely open to assist in any way I can.

StephenStrickland avatar Oct 04 '22 02:10 StephenStrickland

Hey @StephenStrickland thanks for reaching out, and good to know people are keeping an eye on this...

generateNodeAPI is actually getting replaced with a much better alternative - getContext - this package can switch to that once it has been released - keystonejs/keystone#7954 it should be a fairly straightforward change.

borisno2 avatar Oct 10 '22 13:10 borisno2

Is there any update on this? The latest build of Keystone no longer includes the option to enable the API - the latest functional build I have is running on "@keystone-6/core": "^2.1.0",

limegorilla avatar Oct 31 '22 12:10 limegorilla

Hey @limegorilla the package has been updated so that is works with the latest keystone version. If you upgrade this package to the latest(25.0.0) it should work. Let us know if you have any issues. See https://github.com/OpenSaasAU/keystone-nextjs-auth/releases/tag/%40opensaas%2Fkeystone-nextjs-auth%4025.0.0 for more info.

borisno2 avatar Oct 31 '22 12:10 borisno2

Ahhh - apologies!

All working!

limegorilla avatar Oct 31 '22 12:10 limegorilla