can I have a generic mutation that deletes a resou...
# orm-help
g
can I have a generic mutation that deletes a resource? something like
_await_ ctx.prisma?.[resourceType].delete()…
r
@glekner 👋 Yeah you’ll have to manage this without TypeScript as TS wouldn’t know the exact type in this case. Have a look at this request and the comments to have a better idea 🙂