fedeya / next-auth-sanity

NextAuth Adapter and Provider for Sanity
https://sanity.io/plugins/next-auth-sanity
MIT License
78 stars 20 forks source link

Sanity V3 - Roadmap ? #15

Closed chihabhajji closed 1 year ago

chihabhajji commented 1 year ago

i havent taken a look at the code base yet, but how can we make this work with Sanity V3 ?

fedeya commented 1 year ago

this should work with sanity v3, internally this just performs data fetching/mutations with the @sanity/client if groq or @sanity/client doesn't change this doesn't need a big update

i released a new version today, the issues with the latest @sanity/client and next-auth version should be fixed but in any update of the @sanity/client the types are broken is necessary think how to fix it to keep this "unbroken"