Skip to content

Commit

Permalink
fix(BaseEntity): Use the interceptor approach instead of `wirebox:tar…
Browse files Browse the repository at this point in the history
…getId` to support CommandBox
  • Loading branch information
elpete committed Feb 5, 2024
1 parent 3bd1889 commit 164247d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions models/BaseEntity.cfc
Expand Up @@ -53,10 +53,7 @@ component accessors="true" {
/**
* The WireBox mapping for the entity. This is added by a beforeInstanceAutowire interception point.
*/
property
name ="_mapping"
persistent="false"
inject ="wirebox:targetId";
property name="_mapping" persistent="false";

/**
* The full name of the entity.
Expand Down

0 comments on commit 164247d

Please sign in to comment.