Thiago Bellini Ribeiro

Results 256 comments of Thiago Bellini Ribeiro

This is one of the issues being discussed in https://github.com/strawberry-graphql/strawberry-graphql-django/issues/399 and how to improve that API

Fixed by https://github.com/strawberry-graphql/strawberry-django/pull/478

Hi @TWeidi , Hrm, that's really interesting! Would you like to try to open a PR for this? Also, I would not sort the fields inplace, but instead just call...

> sure, I can do that. Do you want me to add a dedicated test case or are you fine with the existing one ('test_or')? If you can it would...

Fixed by https://github.com/strawberry-graphql/strawberry-django/pull/478

Hrm, I get what you mean here from a new user perspective, specially for someone new to strawberry that usually don't know that `Query` and `Mutation` are types as well....

> We could elaborate in the docs that Queries and Mutations are also types and that's why they're wrapped in a type decorator, but still using the type decorator from...

One option here is to use the permissions extension: https://strawberry-graphql.github.io/strawberry-django/guide/permissions/ You can create a subclass of [DjangoPermissionExtension](https://strawberry-graphql.github.io/strawberry-django/guide/permissions/) and define your own logic on `resolve_for_user` You can see in the `HasPerm`...

I did some tests here and to fix this issue, I would cause others :( To properly resolve this I need to first resolve https://github.com/strawberry-graphql/strawberry-django/issues/337

@arthanson that's interesting. I wonder if the most recent refactor of filters made it worse... As I don't have something that large to test, could you help us by providing...