Skip to content

Conversation

@ymc9
Copy link
Member

@ymc9 ymc9 commented Nov 7, 2022

We can't check Prisma's error type against PrismaClientKnownError class because we can't reference generated Prisma classes from the internal package. Use a weakly-typed checking instead.

@vercel
Copy link

vercel bot commented Nov 7, 2022

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

Name Status Preview Updated
todo-demo ✅ Ready (Inspect) Visit Preview Nov 7, 2022 at 1:58AM (UTC)

@ymc9 ymc9 changed the base branch from main to dev November 7, 2022 01:58
@ymc9 ymc9 merged commit 3e7604d into dev Nov 7, 2022
@ymc9 ymc9 deleted the fix/prisma-error-checking branch November 7, 2022 01:59
@ymc9
Copy link
Member Author

ymc9 commented Nov 7, 2022

#49

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