@ronin/compiler 0.14.1-leo-ron-1099-1-experimental-318 → 0.14.2-leo-ron-1099-1-experimental-319
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 +0 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -508,11 +508,6 @@ var handleTo = (models, model, statementParams, queryType, dependencyStatements,
|
|
508
508
|
if (symbol?.type === "query") {
|
509
509
|
const { queryModel: subQueryModelSlug, queryInstructions: subQueryInstructions } = splitQuery(symbol.value);
|
510
510
|
const subQueryModel = getModelBySlug(models, subQueryModelSlug);
|
511
|
-
if (subQueryInstructions?.selecting) {
|
512
|
-
const currentFields = new Set(subQueryInstructions.selecting);
|
513
|
-
currentFields.add("id");
|
514
|
-
subQueryInstructions.selecting = Array.from(currentFields);
|
515
|
-
}
|
516
511
|
const subQuerySelectedFields = subQueryInstructions?.selecting;
|
517
512
|
const subQueryIncludedFields = subQueryInstructions?.including;
|
518
513
|
const subQueryFields = [
|
package/package.json
CHANGED