prisma-examples icon indicating copy to clipboard operation
prisma-examples copied to clipboard

Projects from `/deployment-platforms` must also be available as normal, local projects that are fully tested

Open janpio opened this issue 5 years ago • 0 comments

Currently the projects in deployment-platforms are kind of a blind spot as we do not have tests for them that are automatically run. Succeeding tests on PRs to these projects give a false impression then. We will try to fix this via https://github.com/prisma/prisma-examples/issues/1840, but that is a bigger undertaking.

What we can do until then is to at least test the code we suggest to use on these platforms by having a local version in javascript or typescript that uses the exact same project code.

Example: https://github.com/prisma/prisma-examples/tree/master/deployment-platforms/vercel-graphql currently uses Nexus and Nexus Prisma Plugin in a way no other project does, which could lead to a broken project without us knowing it: image

janpio avatar Jul 03 '20 09:07 janpio