Vitaliy Kucheryaviy

Results 245 comments of Vitaliy Kucheryaviy

@dan83g could you provide some use case ? why dont you just use pydantic's dataclasses ? ```Python from pydantic.dataclasses import dataclass @dataclass class User: id: int name: str ```

Note to myself - pydantic.dataclasses should work - probably not detecting it correctly

@hugochinchilla when you set default_factory - nothing is actually brought to opneapi examples schema (what you see as today date is actually provided by swagger js) default_factory only works during...

@shimachao did you try measuring time without your logic but only validation? ```Python @api.post("messages", response={200: None}) @track_time async def publish_messages(request: ASGIRequest, message_in: MessagesIn): # Do nothing return 200, None ```

@shimachao Well I took your code - and my results are x500 faster than yours - are you sure you shared all the code ? here is my log: ```...

@shimachao I do not have explanation 1) do you repeat your calls ? - like maybe only first is slow but the rest are fine 2) try from empty project...

@jaeyongjaykim there is related bug #1016 that I cannot reproduce maybe you can show me full listing for the `Referrer` model ?

Hi @Eittipat Thank you for PR - could you please add at at least one test case for this and documentaition ? Thank you

Hi @Eittipat thank you I was wondering #965 should be addressed in the core ? Could you share your implementation to overcome duplicated schema names in different modules ?