This is an investigation log written with the assumption that it will be translated in order to report it as an issue on GitHub.
Basically, I am responsible for trying to use prisma's experimental query-compiler, but the interfaces of opennext
, prisma
, and @auth/adapter-prisma
all did not mesh, and the only solution to avoid the problem was to directly patch @auth/adapter-prisma
.
What happened with @auth/adapter-prisma
is a typical example, and there are two issues: how prisma
itself will design its interface in the future, and how opennext should handle cjs.