#919 ebeaaff Thanks @jpwilliams! - Add dependencyInjectionMiddleware(), allowing you to easily add data to function input
import { dependencyInjectionMiddleware } from "inngest";
const prisma = new Prisma();
const inngest = new Inngest({
id: "my-app",
middleware: [dependencyInjectionMiddleware({ prisma })],
});
3374187 Thanks @jpwilliams! - Error.cause can now be any unknown value, though we still attempt to recursively expand causes until we hit an unknown valueFetched April 3, 2026