A repo detailing a bug with querying multiple pgRelations through Prisma.
This repo uses prisma@1.14
, but I've confirmed the issue with 1.13
as well as current beta
/alpha
.
docker-compose up
yarn
yarn run dbseed
npm i -g prisma@1.14
./introspect-and-deploy.sh
(automates prisma cli input for convenience)
Point your favorite graphql client to http://localhost:4466
.
query {
titles {
id
rating {
isPopular
}
}
}
query {
titles {
id
rating {
isPopular
}
meta {
releaseYear
}
}
}