Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): update adapters import in drizzle schemas #12383

Closed
wants to merge 2 commits into from

Conversation

kholisrag
Copy link

☕️ Reasoning

Update drizzle schemas to correct module

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

Copy link

vercel bot commented Dec 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 7:11pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Dec 19, 2024 7:11pm

Copy link

vercel bot commented Dec 14, 2024

@kholisrag is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@ndom91 ndom91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

@ndom91 ndom91 changed the title fix: update next-auth/adapters to @auth/core/adapters in schemas chore(docs): update adapters import in drizzle schemas Dec 22, 2024
@ndom91
Copy link
Member

ndom91 commented Dec 22, 2024

Ah wait sorry, I misread the file in which this was changed.

This is actually correct. As a user you should never have to install @auth/core. You should be able to import these types from the client based on your framework of choice, i.e. from next-auth/adapters or @auth/sveltekit/adapters, etc.

@ndom91 ndom91 closed this Dec 22, 2024
@kholisrag
Copy link
Author

kholisrag commented Dec 22, 2024

@ndom91

whats the correct way? I use the adapter seem not working

Cannot find module '@auth/sveltekit/adapters' or its corresponding type declarations.ts(2307)

@ndom91
Copy link
Member

ndom91 commented Dec 22, 2024

@ndom91

whats the correct way? I use the adapter seem not working

Cannot find module '@auth/sveltekit/adapters' or its corresponding type declarations.ts(2307)

Whoops sorry, try @auth/sveltekit/adapter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants