@ronin/compiler 0.14.2-leo-ron-1099-1-experimental-320 → 0.14.2-leo-ron-1099-1-experimental-321
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 +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -509,7 +509,9 @@ var handleTo = (models, model, statementParams, queryType, dependencyStatements,
|
|
509
509
|
const subQuerySelectedFields = subQueryInstructions?.selecting;
|
510
510
|
const subQueryIncludedFields = subQueryInstructions?.including;
|
511
511
|
const subQueryFields = [
|
512
|
-
...
|
512
|
+
...filterSelectedFields(subQueryModel, subQuerySelectedFields).map(
|
513
|
+
(field) => field.slug
|
514
|
+
),
|
513
515
|
...subQueryIncludedFields ? Object.keys(
|
514
516
|
flatten(subQueryIncludedFields || {})
|
515
517
|
) : []
|
@@ -1280,7 +1282,8 @@ var addDefaultModelPresets = (list, model) => {
|
|
1280
1282
|
}
|
1281
1283
|
}
|
1282
1284
|
}
|
1283
|
-
}
|
1285
|
+
},
|
1286
|
+
selecting: ["**", "!source", "!target"]
|
1284
1287
|
}
|
1285
1288
|
}
|
1286
1289
|
}
|
package/package.json
CHANGED