Skip to content

Generated Prisma Repository's FindUnique() and FindFirst() always returns a "valid" object #2200

Answered by LefanTan
LefanTan asked this question in Q&A
Discussion options

You must be logged in to vote

This is a silly mistake and not related to tsED. That happens because I threw an error in the try clause and catches it again in the catch clause.

I would remove this discussion if i can.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Romakita
Comment options

@Romakita
Comment options

Answer selected by LefanTan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants