Thank you for keeping pace with the newest releases of Prisma! We really appreciate how active the Pal.js project is ⛲️. We have just tried to upgrade to Pal.js v2.0.0. Unfortunately we are getting an error of Unknown type "Null" during our makeExecutableSchema. We have a very simple schema.prisma file for our project. I have pushed a git branch of our project with the Pal.js v2.0.0 upgrade, and you can find the Pal.js code generated files here. I am not entirely sure what the problem is and thought I'd provide some early feedback for you. Cheers 🥂
C:\a\Work\zen\node_modules\graphql\validation\validate.js:107
throw new Error(errors.map(function (error) {
^
Error: Unknown type "Null".
Unknown type "Null".
Unknown type "Null".
Unknown type "Null".
Unknown type "Null".
Unknown type "Null".
Unknown type "Null".
Unknown type "Null".
Unknown type "Null".
Unknown type "Null".
at assertValidSDL (C:\a\Work\zen\node_modules\graphql\validation\validate.js:107:11)
at Object.buildASTSchema (C:\a\Work\zen\node_modules\graphql\utilities\buildASTSchema.js:45:34)
at buildSchemaFromTypeDefinitions (C:\a\Work\zen\node_modules\graphql-tools\dist\schema\src\buildSchemaFromTypeDefinitions.js:9:18)
at makeExecutableSchema (C:\a\Work\zen\node_modules\graphql-tools\dist\schema\src\makeExecutableSchema.js:64:18)
at Module../apps/api/src/app/graphql/resolvers/index.ts (C:\a\Work\zen\dist\apps\api\webpack:\apps\api\src\app\graphql\resolvers\index.ts:20:51)
Description
Thank you for keeping pace with the newest releases of Prisma! We really appreciate how active the Pal.js project is ⛲️. We have just tried to upgrade to Pal.js v2.0.0. Unfortunately we are getting an error of
Unknown type "Null"
during our makeExecutableSchema. We have a very simple schema.prisma file for our project. I have pushed a git branch of our project with the Pal.js v2.0.0 upgrade, and you can find the Pal.js code generated files here. I am not entirely sure what the problem is and thought I'd provide some early feedback for you. Cheers 🥂Dependencies
Our package.json dependencies:
Error log
node_modules/.prisma/client/index.js