graphene/graphene/middlewares/camel_case.py
2016-05-20 23:43:55 -07:00

9 lines
216 B
Python

from ..utils import ProxySnakeDict
class CamelCaseArgsMiddleware(object):
def resolve(self, next, root, args, context, info):
args = ProxySnakeDict(args)
return next(root, args, context, info)