Skip to content

Conversation

@Perlence
Copy link

The issue was that when a container class was passed as a meta option, the default implementation of InputObjectTypeContainer started failing with the following:

    def __init__(self, *args, **kwargs):
        dict.__init__(self, *args, **kwargs)
>       for key in self._meta.fields:
                   ^^^^^^^^^^
E       AttributeError: 'InputObjectTypeContainer' object has no attribute '_meta'

I've also changed the type hint for the InputObjectTypeOptions.container to be a type, not an instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant