prisma-client-go
prisma-client-go copied to clipboard
use go:embed for prisma engines
https://golang.org/pkg/embed/
@steebchen does go:embed work for detecting migration files already or does that need a new issue?
@bshihr Can you maybe create a new issue or discussion and elaborate on your use case? Right now the only thing packed into the final go binary is the prisma query engine, because it is needed at runtime. The migrations are usually run on generate time, which requires the go module to be installed anyway, so packing migration files would not solve anything at this point.