Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

boenni23/prisma-middleware-Resolve-info

Repository files navigation

Installation

npm i
docker-compose up -d
prisma deploy
prisma seed

Query

query {
  items{
    secondItems(where: {mySuperSearch:"aa"}){id secondField}
  }
}

Result:

"message": "Variable '$where' expected value of type 'SecondItemWhereInput' but got: {\"mySuperSearch\":\"aa\"}. Reason: 'mySuperSearch' Field 'mySuperSearch' is not defined in the input type 'SecondItemWhereInput'. (line 1, column 8):\nquery ($where: SecondItemWhereInput, $where_1: ItemWhereUniqueInput!) {\n       ^",

See Middleware

triggers/index.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published