3 ms·
> Support for advanced Postgres datatypes slowly becomes ready for primetime, but currently isn't, and it's certainly about ten years behind Django in that rega
by acedTrex 4y ago
> Support for advanced Postgres datatypes slowly becomes ready for primetime, but currently isn't, and it's certainly about ten years behind Django in that regard.
What type support is lacking in the ef pg provider?
> Metadata for the models is hard to come by (probably there is a way?).
I'm not sure what metadata means here exactly, you can configure models with either the fluent api or the attribute api
- bayesian_horse 4y agoJson(b) columns, (multidimensional) Arrays. By metadata I indeed mean info on what a field means: Human readable names, descriptions, hints on validation or user input fields. You can argue that's not the ORM's job, but having some of that already in the ORM allows Django to have CRUD apis and views with very little code beyond the models. I think you could make something like DRF or Django admin on top of EF by abusing assembly introspection. But so far nobody dared to do that.