encode / typesystem

Data validation, serialization, deserialization & form rendering. 🔢
https://www.encode.io/typesystem/
BSD 3-Clause "New" or "Revised" License
541 stars 44 forks source link

Generation of typesystem classes from orm/sqlalchemy models (On-the-fly or command based) #95

Open sandys opened 4 years ago

sandys commented 4 years ago

hi, i may be wrong here, but the code in https://github.com/encode/hostedapi/blob/26e5ea6713f7d33433ca5ff962353fbffa6e88be/source/datasource.py is actually parsing sqlalchemy models and creating typesystem classes from them.

can this functionality be made part of typesystem and have starlette use it ? so that we dont create two models (one for sqlalchemy and one for types).