Martin Janeček

Results 56 comments of Martin Janeček

Hi @EmrysMyrddin, thank you for the response! Sorry for marking the issue as a *bug*, I understand it could feel uncomfortable given that it is working as intended. First, I'd...

Thanks for getting back to me and re-classifying the issue. Yes, I think the function would help me achieve my goal. Probably this could be achieved with the existing code...

Hi, have you managed to get this working?

```python import graphene_django_optimizer as gql_optimizer class Query(graphene.ObjectType): category = graphene.Field(CategoryNode, slug=graphene.String(required=True)) @classmethod def resolve_category(cls, root, info, slug): return gql_optimizer.query(CategoryDefinition.objects.get_queryset().filter(slug=slug), info).first() ``` You should wrap the queryset in the `query` method,...

Hi @eabruzzese, thank you for extensive response! I've tried a quick test of the tl;dr solution, and I was immediately stopped by [this assert on relay mutation](https://github.com/graphql-python/graphene/blob/master/graphene/relay/mutation.py#L19). Also I'm afraid...

Please do 🙏 Got `[email protected]` as a new dependency of `[email protected]`, and my build on alpine docker on Apple Silicon (M2) fails because of missing python. Getting this prebuild-install warning:...

@busybox11 Thanks for the response 🙏 I use Docker in production (built & running on linux amd64, working just fine there 👍). I just can't build the image locally to...

I'll add my 2 cents - de/serialization is known to be [expensive](https://jsonjoy.com/blog/json-codec-benchmarks), plus it unexpectedly transforms values. A common use-case is to cache database models. Let's say your `article` model...

> Because all these problems will still exist if you use RedisJSON @Julien-R44 right, I'm sorry for the confusion and for "hijacking" the issue with a different topic.

Also ran into the same issue yesterday/today: ``` web-1 | 16:17:51 [INFO] sentry.access.api: api.access (method='GET' view='sentry.web.frontend.auth_organization_login.AuthOrganizationLoginView' response=200 user_id='None' is_app='None' token_type='None' is_frontend_request='False' organization_id='None' auth_id='None' path='/auth/login/argo22/' caller_ip='18.196.83.117' user_agent='Blackbox Exporter/0.24.0' rate_limited='False' rate_limit_category='None' request_duration_seconds=0.054840803146362305...