prisma-nestjs-graphql 21.0.0 → 21.0.1
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/README.md +1 -2
- package/generate.cjs +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,8 +78,6 @@ Default: `@prisma/client`
|
|
|
78
78
|
|
|
79
79
|
#### `combineScalarFilters`
|
|
80
80
|
|
|
81
|
-
DOESNT WORK IN v21+
|
|
82
|
-
|
|
83
81
|
Combine nested/nullable scalar filters to single
|
|
84
82
|
Type: `boolean`
|
|
85
83
|
Default: `false`
|
|
@@ -764,3 +762,4 @@ import { generate } from 'prisma-nestjs-graphql/generate';
|
|
|
764
762
|
|
|
765
763
|
- keyof typeof SortOrder -> `SortOrder`
|
|
766
764
|
- dummy-createfriends.input.ts -> `create-friends`
|
|
765
|
+
- check 'TODO FIXME'
|
package/generate.cjs
CHANGED
|
@@ -184,7 +184,14 @@ function postBegin(args) {
|
|
|
184
184
|
`${modelName}NullableRelationFilter`
|
|
185
185
|
]);
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
for (const modelName of modelNames) {
|
|
188
|
+
replaceBogusFilters(`${modelName}ScalarRelationFilter`, [
|
|
189
|
+
`${modelName}NullableScalarRelationFilter`
|
|
190
|
+
]);
|
|
191
|
+
}
|
|
192
|
+
lodash.remove(inputTypes, (inputType) => {
|
|
193
|
+
return isContainBogus(inputType.name);
|
|
194
|
+
});
|
|
188
195
|
}
|
|
189
196
|
|
|
190
197
|
function createAggregateInput(args) {
|
package/package.json
CHANGED