Closed asishallab closed 5 years ago
Fixed in project graphql-server
with commit a4a7784585ddbf35356f264f50321e0f1dae8a97
. Login should now work again.
Please check project graphql-server-model-codegen
using the same approach with find ...
.
graphql-server
project: 7 minutesTested and closed
In
utils/login.js
line 3const user = require('../models_index').user;
raises an error:Error: Cannot find module '../models/index'
That is because we switched to single central import for all models regardless of there backend storage technology via
models_index.js
.Check the whole projects
graphql-server
andgraphql-server-model-codegen
for outdated model imports and fix them. Write tests were necessary and applicable. To this efficiently use something likePlease commit the fix in a single well encapsulated commit so that that specific commit can be used in a
git cherry-pick
to fix this bug in other branches.Estimated work time: 1.5h