Matthew Reschke

Results 32 comments of Matthew Reschke

Too bad this library is not maintained. I may have to switch to @dpbriggs fork at some point. As a temp fix I had to create a total hacked function...

Agree. Need to let someone else help you with this repo so we can have a stable BigDecimal in rust.

I would say BigDecimal is a popular and valuable library in the Rust ecosystem. I would be proud of that and see it as worth maintaining...already have good traction, keep...

This addition of `extra: str = "allow"` has completely broken nearly every Model that I have across dozens of apps. All of my models leverage pydantics `Field()` which errors completely...

Turns out the custom BaseModel was adding some stuff to 'extra' in FieldInfo that it was using for its own internals. Now that `extra` is defaulted to `allow` those all...

It was a custom BaseModel and Field() override that added a few things to extra. In older FastAPI versions those were ignored, which was the desired effect. Now they show...

My guess is, if people are using extra and pumping in invalid parameters that get piped to extra, their OpenAPI spec IS invalid, they just don't know it. I didn't...

Not sure if this helps with your particular use case...as a workaround. Obviously defaulting `extra=allow` will still be a pervasive issue. But you could make your own `class Field(PydanticFieldInfo)` (extending...

The `path repo` can get tripped up sometimes for odd reasons with versioning...not a bug, just logic I can't figure out. But for me the `path repo` works amazingly for...

I should mention the one thing I changed from your exact example, taken from your source codes `doc_src/sql_databases/sql_app` is that I am using a local mysql database instead of sqlite...