Open liliserf opened 3 years ago
This also happens with string imports, which are commonly used to work around these kind of import issues.
The cause is this assertion in DjangoListField
https://github.com/graphql-python/graphene-django/blob/775644b/graphene_django/fields.py#L33-L35
If commented out, everything works as expected.
When trying to reference an object that's defined later in the file...
This works:
This does not work:
When using DjangoListField it returns: