12.1, Issue with connection always returning undefined
ianvalls90 opened this issue · comments
This block of code here, is not working (probably due to module updates over time I guess) :
context: ({ req, connection }) => {
if (req) {
return { user: req['user'] };
} else {
console.log(connection);
}
'connection' is always returning undefined