Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

feat(prisma): use new Adapter interface #72

Merged
merged 10 commits into from
Apr 29, 2021
Merged

Conversation

balazsorban44
Copy link
Member

@balazsorban44 balazsorban44 commented Apr 28, 2021

Currently working out the id: number thing...

(#46)

Fixes #70, fixes #38

@balazsorban44 balazsorban44 marked this pull request as draft April 28, 2021 10:23
@kripod
Copy link
Contributor

kripod commented Apr 28, 2021

I’ve created a new adapter which works well with string IDs and can be used together with next-auth@3.18.0 out of the box: https://gist.github.com/kripod/35ccf5319c8477de6f71c1877c7de320

@balazsorban44 balazsorban44 marked this pull request as ready for review April 28, 2021 19:59
Copy link
Contributor

@kripod kripod left a comment

Choose a reason for hiding this comment

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

Looks good to me 😊

I would like to suggest using string IDs for Account and Session inside schema.prisma.

packages/prisma/prisma/schema.prisma Outdated Show resolved Hide resolved
packages/prisma/prisma/schema.prisma Outdated Show resolved Hide resolved
@balazsorban44 balazsorban44 merged commit e7a7690 into canary Apr 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants