When updating nexus from 1.1.0 to latest, the following error occurs.
And I found out it can no longer use GraphQLScalarType since 1.2.0-next.14 introduced #983
Error: Schema must contain uniquely named types but contains multiple types named "Upload".
at new GraphQLSchema (/home/projects/stackblitz-starters-gbnfra/node_modules/graphql/type/schema.js:194:15)
at makeSchemaInternal (/home/projects/stackblitz-starters-gbnfra/node_modules/nexus/dist/builder.js:1153:20)
at makeSchema (/home/projects/stackblitz-starters-gbnfra/node_modules/nexus/dist/makeSchema.js:16:84)
When updating nexus from 1.1.0 to latest, the following error occurs. And I found out it can no longer use GraphQLScalarType since 1.2.0-next.14 introduced #983
Reproduction:
https://stackblitz.com/edit/stackblitz-starters-gbnfra?file=package.json,index.js
Workaround: