Patrick Arminio

Results 669 comments of Patrick Arminio

> I have debugged a little, and it happens when I use an empty dictionary as default parameter for any of function params. (I know we are not supposed to...

@vamshiaruru-virgodesigns strawberry.field doesn't work on arguments, though using `{}` seems to work for me here: https://play.strawberry.rocks/?gist=5d30a0078aa6cd1a45c667bda214715e are you able to share a minimal reproduction? also feel free to message me...

from discord: we should make this error better, if not already done here: ``` import strawberry from strawberry.scalars import JSON strawberry.union( name='NamedUnion', types=( # some other types JSON, ), )...

I wonder though, if we build support for django, wouldn't be "easy" to make it pluggable and support multiple frameworks. The mutations and queries would be the same everywhere, no?...

@la4de that's awesome, so maybe we can keep this in strawberry-django and then when it is mature we can think of making more generic, what do you all think?

> I think it is already a little weird that I set the schema on the view. It's definitely different than django, but it allows to have multiple GraphQL views...

@joeydebreuk but what about the mutations and queries? those won't change even if you use different frameworks (the internal implementation will, but not the way the mutations are used). I...