Yezy Ilomo

Results 45 comments of Yezy Ilomo

I'm not sure if I have understood what you described, but isn't it what's performed by [`EagerLoadingMixin`](https://yezyilomo.github.io/django-restql/querying_data/#setting-up-eager-loading)?.

Are you using [`EagerLoadingMixin`](https://yezyilomo.github.io/django-restql/querying_data/#setting-up-eager-loading) in your views?.

I’ve never tested this lib on Django debug panel but tests suggests otherwise take this below as an example https://github.com/yezyilomo/django-restql/blob/0d2d372b7fac225758f4683434d3c279ba62841d/tests/test_views.py#L747-L818 You can see there that the number of queries due...

> for example when i query `{course{books{title}}` and then i check what was fetch in the sql part, i found out that all fields were fetch Ooh!, now I got...

What problem are you facing?. The only thing which has been changed in v0.13.0 is ’query’ kwarg if you were using it in your code you might be facing issues...

Can you show us the way you are using validate data method on your nested serializer so that we at least get a starting point, posting a piece of code...

There is nothing wrong with your code, I think the problem is on the way you are sending your request, you are probably adding space(s) before or after the word...

I think there's something wrong in your code, I have tried to reproduce your scenario, to me it works just fine you don't even need the `validate` method the DRF...

If you want a flat list of ids this is how you should define `userProfile` field in your `SalesProjectDynamicSerializer` ```py userProfile = UserProfileDynamicSerializer(many=True, read_only=True, return_pk=True) ```

Here is the part of documentation about `return_pk` kwarg https://django-restql.yezyilomo.com/querying_data/#return_pk-kwarg