Skip to content

Commit a05076f

Browse files
committed
fix(EagerLoading): Use box namespace for CommandBox compatibility
1 parent 4e707d0 commit a05076f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

models/BaseEntity.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ component accessors="true" {
178178
property
179179
name ="_preventLazyLoading"
180180
persistent="false"
181-
inject ="coldbox:setting:preventLazyLoading@quick";
181+
inject ="box:setting:preventLazyLoading@quick";
182182

183183
/**
184184
* A callback function called when a lazy loading violation occurs.
@@ -187,7 +187,7 @@ component accessors="true" {
187187
property
188188
name ="_lazyLoadingViolationCallback"
189189
persistent="false"
190-
inject ="coldbox:setting:lazyLoadingViolationCallback@quick";
190+
inject ="box:setting:lazyLoadingViolationCallback@quick";
191191

192192
/**
193193
* A boolean flag representing that events should not be fired.

models/QuickBuilder.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ component accessors="true" transientCache="false" {
5454
property
5555
name ="_preventLazyLoading"
5656
default="false"
57-
inject ="coldbox:setting:preventLazyLoading@quick";
57+
inject ="box:setting:preventLazyLoading@quick";
5858

5959
/**
6060
* A callback function called when a lazy loading violation occurs.
6161
* It is passed the entity and relation name that caused the violation.
6262
*/
63-
property name="_lazyLoadingViolationCallback" inject="coldbox:setting:lazyLoadingViolationCallback@quick";
63+
property name="_lazyLoadingViolationCallback" inject="box:setting:lazyLoadingViolationCallback@quick";
6464

6565
/**
6666
* A map of aliases to entities to use when qualifying aliased columns.

0 commit comments

Comments
 (0)