@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/index.js CHANGED
@@ -1536,7 +1536,7 @@ function modelOutputType(outputType2, args) {
1536
1536
  if (graphqlImport.name !== outputType2.name && graphqlImport.specifier !== null && graphqlImport.specifier !== void 0 && graphqlImport.specifier.length > 0) {
1537
1537
  const isCircular = config.esmCompatible && location === "outputObjectTypes" && namespace === "model" && hasCircularDependency(circularDependencies, outputType2.name, outputTypeName);
1538
1538
  if (isCircular) {
1539
- importDeclarations.addType(graphqlImport.name, graphqlImport.specifier);
1539
+ importDeclarations.add(graphqlImport.name, graphqlImport.specifier);
1540
1540
  lazyTypes.add(graphqlImport.name);
1541
1541
  useGetType = true;
1542
1542
  } else {