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 }}
This repository was archived by the owner on Apr 18, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 18, 2020. It is now read-only.
{ name: 'AssertionError',
actual: false,
expected: true,
operator: '==',
message: 'cannot autoAttach model "Email". No dataSource found of type mail' }
This is a regression. I'm guessing it is coming from the new boot() implementation or the new datasources.*.
Yes, it's coming from app.boot. We can either modify remove loopback.autoAttach from loopback-boot, or add a dummy e-mail connector to datasources.json.
The message printed to stderr is just a warning, the app works on my machine.
We need to remove autoAttach in 2.x. It is mostly a pain in fixing all the tests that depend on it. We can also fix the global state abuse in the tests at the same time.
Activity
bajtos commentedon May 29, 2014
Yes, it's coming from
app.boot. We can either modify removeloopback.autoAttachfrom loopback-boot, or add a dummy e-mail connector to datasources.json.The message printed to stderr is just a warning, the app works on my machine.
ritch commentedon May 29, 2014
We need to remove
autoAttachin2.x. It is mostly a pain in fixing all the tests that depend on it. We can also fix the global state abuse in the tests at the same time.bajtos commentedon Jun 16, 2014
This is fixed as of strongloop/loopback-boot#9.