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
It seems to be the cause of a __init__() got an unexpected keyword argument '_root'" error I am getting using a ConnectionField and a custom relay.Connection subclass. There are some other things going in my code so it's not easy to post an example, but essentially, ConnectionField inherits Field, and the wrapped resolver in Field.internal_type always wants to pass _root.
The text was updated successfully, but these errors were encountered:
https://github.com/graphql-python/graphene/blob/master/graphene/relay/types.py#L58
Is there a reason why not?
It seems to be the cause of a
__init__() got an unexpected keyword argument '_root'"
error I am getting using aConnectionField
and a customrelay.Connection
subclass. There are some other things going in my code so it's not easy to post an example, but essentially,ConnectionField
inheritsField
, and the wrapped resolver inField.internal_type
always wants to pass_root
.The text was updated successfully, but these errors were encountered: