Sebastián Ramírez
955e9fcb31
Update fix SQLAlchemy support with ORM ( #30 )
✨ SQLAlchemy ORM support
Improved jsonable_encoder with SQLAlchemy support, tests running with SQLite, improved and updated SQL docs
* ➕ Add SQLAlchemy to development dependencies (not required for using FastAPI)
* ➕ Add sqlalchemy to testing dependencies (not required to use FastAPI)
6 years ago
Sebastián Ramírez
9745a5d1ae
🐛 Fix jsonable_encoder for models with Config ( #29 )
but without json_encoders
6 years ago
euri10
32438c85f6
Using pydantic custom encoders ( #21 )
Add support for Pydantic custom JSON encoders.
6 years ago
Sebastián Ramírez
510fec9bee
♻️ Refactor jsonable_encoder and test it
with nested arbitrary classes
6 years ago
Sebastián Ramírez
a73709507c
✅ Add docs, tests and fixes for extra data types
including refactor of jsonable_encoder to allow other object and model types
6 years ago
Sebastián Ramírez
0e19c24014
✨ Update parameter names and order
fix mypy types, refactor, lint
6 years ago
Sebastián Ramírez
b9d912c638
♻️ Refactor, fix and update code
6 years ago
Sebastián Ramírez
406c092a3b
🎉 Start tracking messy initial stage
...before refactoring and breaking something
6 years ago