Zendro-dev / graphql-server

Skeleton NodeJS project for a graphQL server.
GNU General Public License v3.0
0 stars 1 forks source link

Fix logging of loaded models in `./models_index.js` #23

Closed asishallab closed 4 years ago

asishallab commented 4 years ago

The loader module ./models_index.js implements loading and initializing all models of all storage types. However, only models of type sql get logged to the console as being loaded. This is highly misleading. Please fix and please improve the log message to something like

loaded model: ${iterModel.name}

Expected work time: 1h

coeit commented 4 years ago

commit: https://github.com/ScienceDb/graphql-server/commit/c4999be668425b0f723f97475f510b062e003bbd