Current behavior
Seeding on prisma deploy or running prisma seed results in this error message:
ERROR: Project not found: 'service-name@dev'
{
"errors": [
{
"message": "Project not found: 'service-name@dev'",
"code": 3016,
"requestId": "eu1:api:cjh0bxiuf01pn0b14ybipeqbb"
}
],
"status": 200
}
Reproduction
prisma init service-name
cd service-name
touch seed.graphql
echo 'mutation{createUser(data:{name:"a"}){id}}' > seed.graphql
Add this to prisma.yml:
seed:
import: seed.graphql
prisma deploy
prisma seed
Expected behavior?
It works & no error is returned.
After the fix in #2400 which updates the docker-image to prisma1.8.2 with docker pull prismagraphql/prisma:1.8 this is now working again for me. I tested it on a local cluster and ran prisma seed -r successfully.
Thanks so much for your input @dferber90!