Vitaliy Kucheryaviy
                                            Vitaliy Kucheryaviy
                                        
                                    I assume you doing something like schema name in json becomes a combination of module-name + class name ? I think the ideal could be that name is extened with...
hi @KlemenS189 > Why not raise an AuthenticationError directly in __call__ method? well `auth` parameter is a callable that should return authenticated object - if nothing is returned - then...
Hi @MM-cyi You can ignore that warning - there are few edge functions that are using deprecated functionality to make migrations easier if you starting from ninja 1.x - all...
Hi @MadcowD could you provide full example that does not work and versions you are using ?
Hi @pmdevita Yeah I guess it worth trying - just wondering will ti work for case like ```Python class SomeSchema(ModelSchema): fkfield_id: int class Meta: model = Some fields = ['id',...
Hi @Zerotask well this happens somewhere inside pydantic - django ninja [sends fields definitions as dict ](https://github.com/vitalik/django-ninja/blob/08af4b9b571c92a7d14edaeb53cf54bb673bea0d/ninja/orm/factory.py#L63-L76)(where fields are sorted as in Meta.fields) but apparently pydantic puts attributes defined on...
@carvalhochris try pre fetching also artist_set ```Python Card.objects.prefetch_related("cardhold_set", "artist_set") ```
yeah, maybe prefetch_related does not support async yet.. try: ```Python @api.get("/get-cards", response=List[CardOut]) @decorate_view(cache_page(7 * 24 * 60 * 60)) async def list_cards(request): queryset = Card.objects.prefetch_related("cardhold_set", "artist_set") cards = await sync_to_async(list)(queryset)...
Hi @viktorvsk interesting trick.. in general django-ninja generates operation id as string like `"_" `- and because you have all in one module that probably gives an issue you can...
Hi @nofalx Thank you Could you also make a test case for this ?