@solidstarters/solid-core 1.2.78 → 1.2.79
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.79",
|
|
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",
|
|
@@ -515,7 +515,7 @@ export class CRUDService<T> { // Add two generic value i.e Person,CreatePersonDt
|
|
|
515
515
|
// We can assume that the media field entity model is already populated as part of the entity data
|
|
516
516
|
const mediaFieldEntities = this.getMediaFieldEntities(entity, pathParts);
|
|
517
517
|
if (!mediaFieldEntities || mediaFieldEntities.length === 0) {
|
|
518
|
-
|
|
518
|
+
return ;//no need to populate data if relation not exists
|
|
519
519
|
}
|
|
520
520
|
// Populate the media field entities with the full URL
|
|
521
521
|
for (const mediaFieldEntity of mediaFieldEntities) {
|