Three things as been done (because it did not work without that):
Since the linter do not accept template-like file, I had to rename templates/app/models/index.js to templates/app/models/index.txt (the commit can not pass without that). On a side note, the template system is currently messy: a mix of txt files, js files with invalid javascript (like this one) and handlebars code. We should improve that.
I had to add useUnifiedTopology: true in connect. Without this, there is a warning: https://mongoosejs.com/docs/deprecations.html#useunifiedtopology (we do not use any of the option that can generate a problem: autoReconnect, reconnectTries, reconnectInterval.
@arnaudbesnier I selected you as a reviewer for the following reasons:
Three things as been done (because it did not work without that):
templates/app/models/index.js
totemplates/app/models/index.txt
(the commit can not pass without that). On a side note, the template system is currently messy: a mix oftxt
files,js
files with invalid javascript (like this one) and handlebars code. We should improve that.useUnifiedTopology: true
in connect. Without this, there is a warning: https://mongoosejs.com/docs/deprecations.html#useunifiedtopology (we do not use any of the option that can generate a problem:autoReconnect, reconnectTries, reconnectInterval
.