You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
Yeah, as long as that's valid at runtime, this is a bug and there should be no type error. Feel free to make a PR if you'd like to fix! Otherwise I'll try to get to it at some point.
We've just come across this exact issue as well, and its throwing hundreds of errors for us :( I'm not quite sure I understand the MyPy plugin structure or graphene-stubs well enough to make a patch, but I'll see if we have time to. Did anyone else manage to make this work?
According to the graphene documentation, the following is the same:
However, graphene-stubs doesn't allow the above example when using resolvers.
When wrapping it in a
Field
it's fine. Is this a known limitation or would this classify as a bug that can be fixed?The text was updated successfully, but these errors were encountered: