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
trying to load mongoose inside the jugglingdb adapter. throws error.
Perhaps I have misunderstood the direction Formage is taking, however from the README, it seems to me that I shoulnd't be required to install mongoose.
The text was updated successfully, but these errors were encountered:
You are right, these are regressions from the main goal of being ORM agnostic (but there will be a dependency on there being an ORM with a declared schema).
P.S. If you can help me devise an automated test that will fail if there is an implicit dependency on mongoose, in a configuration where mongoose is installed (some require.cache of vm skulduggery)
I'm not entirely familiar with mongodb, but surely JugglingDb can handle any interactions with mongodb?
The project advertises :
Implying that one can integrate formage into their project without being required to install, interact or think about mongodb/mongoose.
However, this isn't true.
https://github.com/Empeeric/formage/blob/master/lib/index.js#L14-L24
https://github.com/Empeeric/formage/blob/master/lib/index.js#L55-L56
https://github.com/Empeeric/formage/blob/master/lib/adapters/jugglingdb.js#L28
Perhaps I have misunderstood the direction Formage is taking, however from the README, it seems to me that I shoulnd't be required to install mongoose.
The text was updated successfully, but these errors were encountered: