Context imported from graphql-server broken post 7.0.0

This is new and wasn’t addressed in the upgrade guide:

‘“@redwoodjs/graphql-server”’ has no exported member named ‘context’. Did you mean ‘Context’?

I have various redwood functions that need to pull user data, and it’s typically done via:

import {
context as globalContext
} from ‘@redwoodjs/graphql-server’

const user = globalContext.currentUser

But now it fails with

TypeError: Cannot read properties of undefined (reading ‘currentUser’)

I think this may be related to fix(context): Refactor context by Josh-Walker-GM · Pull Request #9371 · redwoodjs/redwood · GitHub

Also posted an issue here: [Bug?]: Context from graphql-server no longer carrying currentUser post 7.x.x · Issue #10101 · redwoodjs/redwood · GitHub

Josh replied w/ fix on github issue: [Bug?]: Context from graphql-server no longer carrying currentUser post 7.x.x · Issue #10101 · redwoodjs/redwood · GitHub