@stonyx/orm 0.3.2-alpha.79 → 0.3.2-alpha.80

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.
@@ -451,8 +451,12 @@ function buildResponse(data, includeParam, recordOrRecords, options = {}) {
451
451
  // for the primary document -- and that is what the `linkage` option
452
452
  // below decides. Before it, `GET /animals/1?include=owner,owner.pets`
453
453
  // filtered the primary document's `owner.data` to `null` and then
454
- // handed back nine PERMITTED animals in `included` each naming
455
- // `{"type":"owner","id":"angela"}`. Neither #233 nor #234 closes that.
454
+ // handed back eight PERMITTED animals in `included` each naming
455
+ // `{"type":"owner","id":"angela"}` -- angela's whole `pets` set,
456
+ // `[1, 3, 7, 10, 11, 15, 17, 20]`. `included` itself is NINE
457
+ // resources there: those eight animals plus the hidden owner, whose
458
+ // membership is #233's and not an animal. Neither #233 nor #234
459
+ // closes that.
456
460
  //
457
461
  // THE FILTER IS THE CALLER'S, PASSED IN, NOT BUILT HERE. Both call sites
458
462
  // already hold one for the primary document, and sharing it is what keeps
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "stonyx-async",
5
5
  "stonyx-module"
6
6
  ],
7
- "version": "0.3.2-alpha.79",
7
+ "version": "0.3.2-alpha.80",
8
8
  "description": "",
9
9
  "main": "dist/index.js",
10
10
  "type": "module",
@@ -496,8 +496,12 @@ function buildResponse(
496
496
  // for the primary document -- and that is what the `linkage` option
497
497
  // below decides. Before it, `GET /animals/1?include=owner,owner.pets`
498
498
  // filtered the primary document's `owner.data` to `null` and then
499
- // handed back nine PERMITTED animals in `included` each naming
500
- // `{"type":"owner","id":"angela"}`. Neither #233 nor #234 closes that.
499
+ // handed back eight PERMITTED animals in `included` each naming
500
+ // `{"type":"owner","id":"angela"}` -- angela's whole `pets` set,
501
+ // `[1, 3, 7, 10, 11, 15, 17, 20]`. `included` itself is NINE
502
+ // resources there: those eight animals plus the hidden owner, whose
503
+ // membership is #233's and not an animal. Neither #233 nor #234
504
+ // closes that.
501
505
  //
502
506
  // THE FILTER IS THE CALLER'S, PASSED IN, NOT BUILT HERE. Both call sites
503
507
  // already hold one for the primary document, and sharing it is what keeps