Jan Musílek

Results 32 comments of Jan Musílek

@vitalik I'd like to help with this. I don't understand what's wrong with #202 though. It seems that it's very similar to the code above plus taking care of async...

Is it really necessary to do any async stuff in `__init__`? I typically want `__init__` to be fast and therefore don't benefit from the asynchronous functionality. For everything else, why...

The solution that @shughes-uk suggested seems to work fine for pydantic builtins. However, you can also specify `json_encoders` in model `Config` and those are ignored in `django-ninja` right now. I...

I'm thinking something along the lines of: ```python from pydantic import BaseModel from ninja.renderers import JSONRenderer class PydanticJsonRenderer(JSONRenderer): def render(self, request: HttpRequest, data: Any, *, response_status: int) -> Any: if...

I tried to do something similar to what I suggested above, but I ran into another problem – `ninja.operations` actually calls `.dict()` on my returned data, so custom decoding of...

I just stumbled upon this when I was trying to create async auth for my API. It seems that right now, there is no way to have an async auth...

@c00kiemon5ter Thank you for the reference! Solution proposed in #549 is indeed more robust than just keeping the casing of `FriendlyName`. I just don't understand why there is lower case...

Sorry to bother you, the issue disappeared itself. Probably some cache issues.

OK, so apparently, the issue disappears after the first run. If I run the job for the first time (after fresh `npm install`, it prints the error, afterwards there is...

The problem seems to be resolved in `v4.0.0-beta.2`. There is even external css support, which is a big bonus, thanks for that! Do you have any idea when version 4.0.0...