Get engineering content

Check out the latest posts
Lucian Buzzo

Stable sorting in Prisma

At Cerebrum we recently came across a tricky bug, where we would see records being repeated when paginating through a list of records. The pagination was implemented in a simple way, using skip and take arguments to retrieve a subset of records from the database, one page at a time....

Lucian Buzzo

How to use session context in Prisma

Tackling the challenge of accessing context in Prisma middleware by using the cls-hooked npm module to store context-specific data, allowing for advanced logging and permissioning.

You’ve successfully subscribed to Cerebrum Brainstorm Blog
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.