iki
05/16/2022, 9:09 AMQuery interpretation error [2016]
, there's no event emitted for logging, the error is just thrown and logged later by Apollo Client, but without any important details like the failing query.
clientVersion: "2.21.2"
code: "P2016"
meta: {
details: "Error for binding '1': AssertionError("Expected a valid parent ID to be present for nested update to-one case.")"
}
stack: "Error: Query interpretation error. Error for binding '1': AssertionError("Expected a valid parent ID to be present for nested update to-one case.")
at cb (/usr/src/api2/node_modules/@prisma/client/runtime/index.js:34780:17)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)"