def resolve(self, next, root, args, context, info):
if not (context.user and is_authenticated(context.user)):
context.user = SimpleLazyObject(lambda: get_user_jwt(context))
return next(root, args, context, info)
评论列表
文章目录