loopback-ds-changed-mixin icon indicating copy to clipboard operation
loopback-ds-changed-mixin copied to clipboard

Change method is not setup if method does not exist at the point the mixin runs

Open mrfelton opened this issue 10 years ago • 0 comments

Similar to https://github.com/fullcube/loopback-ds-calculated-mixin/issues/7

Mixins run very early in the boot process - before components have run. Components can add properties and methods to models. If you set up this mixin that uses a Model function that is defined in a component (and therefore after the mixin initialization has run), the mixin will not be setup properly.

mrfelton avatar Feb 29 '16 19:02 mrfelton