For FastAPI user, we already have pydantic, openapi support and openapi-ts, pydantic-resolve is the last puzzle for a better development pattern. This

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-09-05 13:00:07

For FastAPI user, we already have pydantic, openapi support and openapi-ts, pydantic-resolve is the last puzzle for a better development pattern.

This repo shows how to define and compose schemas together with pydantic-resolve, and also sync schemas and methods to frontend with openapi-ts.

We only need to make sure the return value from resolve_blogs or resolve_comments can be converted to BASE schemas (Blog, Comment)

Leave a Comment