@solidstarters/solid-core 1.2.19 → 1.2.20
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidstarters/solid-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.20",
|
|
4
4
|
"description": "This module is a NestJS module containing all the required core providers required by a Solid application",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -321,6 +321,7 @@ export class CRUDService<T> { //Add two generic value i.e Person,CreatePersonDto
|
|
|
321
321
|
const inverseFieldMetadata = fieldMetadata; //Setting an alias for clarity purpose
|
|
322
322
|
const oneToManyOptions: OneToManyRelationFieldOptions = {
|
|
323
323
|
...commonOptions,
|
|
324
|
+
required: false,
|
|
324
325
|
relationModelSingularName: inverseFieldMetadata.model.singularName,
|
|
325
326
|
modelSingularName: inverseFieldMetadata.relationModelSingularName,
|
|
326
327
|
entityManager,
|
|
@@ -346,6 +347,7 @@ export class CRUDService<T> { //Add two generic value i.e Person,CreatePersonDto
|
|
|
346
347
|
const inverseFieldMetadata = fieldMetadata; //Setting an alias for clarity purpose
|
|
347
348
|
const inverseManyToManyOptions: ManyToManyRelationFieldOptions = {
|
|
348
349
|
...commonOptions,
|
|
350
|
+
required: false,
|
|
349
351
|
relationModelSingularName: inverseFieldMetadata.model.singularName,
|
|
350
352
|
modelSingularName: inverseFieldMetadata.relationModelSingularName,
|
|
351
353
|
isInverseSide: true,
|