Eric Jolibois
Eric Jolibois
Hello @mvanderlee The config depends on the model not the type of the field, even if this one is also a model. So you'll need to duplicate your config or...
Sure thing! ```python from datetime import datetime, timedelta from pydantic import BaseModel as PydanticBaseModel from pydantic.json import timedelta_isoformat class BaseModel(PydanticBaseModel): """ All the instances of BaseModel should serialize those types...
I'm not sure what's expected here. If the goal is to have more information on `__fields__`, I feel like the solution would be to expose a public method with dedicated...
I'll check this weekend. Can't before. Way too much on my plate sorry
Hi @goodboy and thanks for reporting. Yes it's actually "normal" because when you use a stdlib `dataclass` inside a `BaseModel`, _pydantic_ will convert you stdlib `dataclass` into a _pydantic_ `dataclass`...
Honestly I reckon we should probably just remove this warning since creating a new class that inherits from `BaseModel` does not raise anything but using `create_model` does
OpenAPI 3.1 is now out and [supports JSON Schema](https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0). It dropped "`nullable: true`" for `type: "null"`. I reckon we should go with Json Schema and OpenAPI 3.1 support only and...
Nope...I'll take some time tonight to work on this
The code of @spookylukey works on `master` since the refacto. But your code @Goldziher doesn't. We still don't support dataclasses with `slots`, which was added in 3.10. I'll check if...