Hi, interactiveTransaction stopped working for me ...
# orm-help
y
Hi, interactiveTransaction stopped working for me as of Prisma 3.13. I'm getting the following error: `Error: Failed to convert napi
string
into rust type `String``
at Object.transaction (/usr/src/app/node_modules/@prisma/client/runtime/index.js:41312:64)
at async Proxy._transactionWithCallback (/usr/src/app/node_modules/@prisma/client/runtime/index.js:46414:21)
Copy code
model Person {
  id   Int    @id @default(autoincrement())
  name String
}
Copy code
<http://router.post|router.post>('/person', (req, res, next) => {

  prisma.$transaction(async (prisma) => {
    const person = await prisma.person.create({
      data: {
        name: 'A new role',
      },
    });

    // Do something else

    return person;
  }).then(person => res.status(201).json(person))
    .catch(next);
});
n
Hey Yaakov 👋 Can you open a GitHub Issue here so that our engineering team could have a look. Meanwhile, I’ll try reproducing it on my end.
y