Open patrick91 opened 2 years ago
@patrick91 so strange that PyCharm behaves that way. Pyright does work correctly for this case (don't know about mypy though)
Obviously once this is merged into the monorepo it will be fixed, but for know we would need to know how pycharm considers typings for that specific case, where we basically import something that might or might not exist into the module namespace. Or maybe it should be already doing that bug there's a bug in how pycharm behaves?
@patrick91 do you know if this is still an issue? It's been a while now, maybe pycharm improved that?
I don't have pycharm so I don't know how to test this
using
strawberry.django.type
shows the following error/warning in PyCharm:Cannot find reference 'django' in '__init__.py'
can we do anything to fix this?
Upvote & Fund