Patrick Arminio
Patrick Arminio
@jkimbo that sounds a like a good plan, we would still need to do a generic solution in future I think (for when you return dicts or other instances) :)
> I have been spelunking the code and I guess the issue with my assumption is that a GQLFoo is never actually instantiated when I return a Foo instance even...
here's a gist reproducing the issue: https://play.strawberry.rocks/?gist=6fab0f0ce462e08155d2f5d791431e74 removing (or updating) the assertion we have might fix this :)
hi eloff! I think this is because `strawberry_django_plus` doesn't have a mypy plugin yet, maybe we should add one, or add support for it in our plugin 🤔 @bellini666 what...
> @patrick91 gql.type is just strawberry.type, shouldn't it work normally with the strawberry mypy plugin (enabled from my config I shared)? I'm not 100% sure, the plugin uses the import...
Hi @atiberghien, thanks for the bug report, I'll edit the issue so that it is clear we need a management command for django 😊
@fescobar can you try with `import strawberry.django` at the top of your module?
This could be fixed by supporting #2000, we'd need to check what happens with Annotated, but it might work fine :)
I removed the good first issue label, I think this might not be easy to get started with, also it will probably be stale once we do #2000 :)
We should do this after this is merged: https://github.com/strawberry-graphql/strawberry/pull/1904