You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
loopback.createModel should call setup function #550
On the second thought, I think this should be implemented by loopback-boot. The reason is that the setup function is typically defined by the model customization script in common/models/my-model.js, which is run by loopback-boot.
Activity
bajtos commentedon Sep 9, 2014
Possibly detecting the situation when
setupwas already called, so that it is not called twice.bajtos commentedon Jun 1, 2015
On the second thought, I think this should be implemented by loopback-boot. The reason is that the
setupfunction is typically defined by the model customization script incommon/models/my-model.js, which is run by loopback-boot.bajtos commentedon May 18, 2016
See also #1485 (comment)