Valentin Oliver Loftsson

Results 24 comments of Valentin Oliver Loftsson

I don't know if this is related, but in Pydantic v2 it seems like the way to define a `BackLink`s `original_field` is different from the description [in the docs](https://beanie-odm.dev/tutorial/relations/#back-links). From...

In FastAPI you can use `response_model_by_alias=False` to declare you want the response model to not use the alias. That way, you don't even need a projection if the only purpose...

It would be good if `BsonBinary` along with other custom types Beanie provides would be mentioned in the API Documentation. For instance at https://beanie-odm.dev/api-documentation/custom-types/

This seems to have been fixed in Pydantic `v2.6.1` [Pull Request](https://github.com/pydantic/pydantic/pull/8710) [Release v2.6.1](https://github.com/pydantic/pydantic/releases/tag/v2.6.1)