Closed sibelius closed 7 years ago
https://github.com/entria/graphql-dataloader-boilerplate/pull/42
before
import ConnectionFromMongoCursor from '../connection/ConnectionFromMongoCursor'; return ConnectionFromMongoCursor.connectionFromMongoCursor(context, users, args, User.load);
after
import connectionFromMongoCursor from './ConnectionFromMongoCursor'; return connectionFromMongoCursor({ cursor: users, context, args, loader: User.load, });
https://github.com/entria/graphql-dataloader-boilerplate/pull/42
before
after