strawberry icon indicating copy to clipboard operation
strawberry copied to clipboard

Extensions don't receive our version of the `info` object

Open patrick91 opened this issue 4 years ago • 0 comments

Pretty much the title, when creating an extension:

class Extension:
    def resolve(
        self, _next, root, info: Info, *args, **kwargs
    ) -> AwaitableOrValue[Any]:
        return _next(root, info, *args, **kwargs)

info here is not actually Info it is still the GraphQL core version of info, we should fix this :)

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

patrick91 avatar Oct 18 '21 22:10 patrick91