@memberjunction/core-entities 6.1.6 → 6.1.8

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.
@@ -52763,6 +52763,20 @@ export interface MJEntityEntity_IEntitySubtypeSelectorConfig {
52763
52763
  * reading the target subtype entity name.
52764
52764
  */
52765
52765
  Path: string;
52766
+ /**
52767
+ * Whether `BaseEntity` also walks {@link Path} for a record it LOADS, not only for one it creates,
52768
+ * so the load can fetch the named child's row directly instead of first querying every child's
52769
+ * table. Optional; `false` or absent keeps loads as they were, with the discovery query.
52770
+ *
52771
+ * On load, only hops that a loaded `BaseEngine` holds as entity objects are walked. A hop that
52772
+ * isn't cached gives no hint, never a query. Turn it on when records of a subtyped type have
52773
+ * their subtype row: a record whose type names a child it has no row for costs one extra round
52774
+ * trip per load.
52775
+ *
52776
+ * Ignored while an `EntitySubtypeResolver` is registered for the entity: the resolver owns the
52777
+ * rule, and gives load hints by overriding its `ResolveLoadHint` method.
52778
+ */
52779
+ UseForLoadedRecords?: boolean;
52766
52780
  }
52767
52781
  /**
52768
52782
  * MJ: Entities - strongly typed entity sub-class