by rowanseymour · 3y ago · 0 comments
Tiangolo of FastAPI fame is working on https://sqlmodel.tiangolo.com/ Which is pydantic models, SQL alchemy. Migrations are coming soon. This will probably be an excellent way to build APIs with db. Then you can generate a typescript client from the built in OpenAPI schema.
if using graphene or strawberry you export sdl to json and use @graphql-codegen/typescript