I migrated my project from prisma 1. Then I added new models relative to my Live model. I try to query the new models with relation type (one-to-one and one-to-many) but that returns null.
Here is my prisma.schema
Query live.questionnaire{} works but questionnaire.live{} doesn't, and both questionnaire.questionnaireField{} and questionnaireField.questionnaire{} dont't wortk.
Here is an exemple of the playground
My schemas
Live schema perview where relation live.questionnaire ok

Each of questionnaire.live and questionnaire.fields and questionnaireField.questionnaire are down
 

My query resolver where only createdAt works
 In prisma studio everything seems to be good...
In prisma studio everything seems to be good...
If someone could help, Thanks



 
                        
See your resolvers not clear but I will give you a way to build your GraphQL server with Prisma in just minute using Pal.Js CLI you can start new project with my CLI and just put your schema and run one command
pal gand you will get everything ready for you with full CRUD system.Install my CLI
Start new project
Now open your project folder and change
./prisam/schema.prismafile with yoursnow generate all resolvers
you have now your graphql server ready
start your server
that is it