@pegasusheavy/nestjs-prisma-graphql 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/generate.js CHANGED
@@ -1534,7 +1534,7 @@ function modelOutputType(outputType2, args) {
1534
1534
  if (graphqlImport.name !== outputType2.name && graphqlImport.specifier !== null && graphqlImport.specifier !== void 0 && graphqlImport.specifier.length > 0) {
1535
1535
  const isCircular = config.esmCompatible && location === "outputObjectTypes" && namespace === "model" && hasCircularDependency(circularDependencies, outputType2.name, outputTypeName);
1536
1536
  if (isCircular) {
1537
- importDeclarations.addType(graphqlImport.name, graphqlImport.specifier);
1537
+ importDeclarations.add(graphqlImport.name, graphqlImport.specifier);
1538
1538
  lazyTypes.add(graphqlImport.name);
1539
1539
  useGetType = true;
1540
1540
  } else {