prisma-nestjs-graphql 15.2.4 → 15.2.5

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -725,7 +725,7 @@ function inputType(args) {
725
725
  if (location === "enumTypes") {
726
726
  referenceName = (0, import_lodash3.last)(referenceName.split(" "));
727
727
  }
728
- if (graphqlImport.specifier && !importDeclarations.has(graphqlImport.name) && (graphqlImport.name !== inputType1.name && !shouldHideField || shouldHideField && referenceName === graphqlImport.name)) {
728
+ if (graphqlImport.specifier && !importDeclarations.has(graphqlImport.name) && graphqlImport.name !== inputType1.name) {
729
729
  importDeclarations.set(graphqlImport.name, {
730
730
  namedImports: [
731
731
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prisma-nestjs-graphql",
3
- "version": "15.2.4",
3
+ "version": "15.2.5",
4
4
  "license": "MIT",
5
5
  "description": "Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module",
6
6
  "main": "index.js",