Code Monkey home page Code Monkey logo

Comments (7)

downdawn avatar downdawn commented on June 2, 2024

Fastapi Upgrade Starlette to >=0.29.0,<0.33.0
https://github.com/tiangolo/fastapi/releases/tag/0.108.0

Sqlmodel will support for Pydantic 2.0
tiangolo/sqlmodel#654

from fastapi_best_architecture.

wu-clan avatar wu-clan commented on June 2, 2024

I got an update push from fastapi but I'm watching https://github.com/encode/starlette/pulls and there are some amazing updates here, if they are merged Fastapi will need to continue to adapt Starlette-1.0.0, will these minor versions continue to be compatible? I'm not sure, but I don't want to consume time for minor versions.

from fastapi_best_architecture.

downdawn avatar downdawn commented on June 2, 2024

These projects share common developers, and we will continue to monitor them.
Our existing project structure is already quite stable, with no significant issues for production.
The current three-tier architecture appears to have room for further optimization, possibly by integrating SQLModel or other methods.

from fastapi_best_architecture.

wu-clan avatar wu-clan commented on June 2, 2024

Our existing project structure is already quite stable, with no significant issues for production.

That's so cool, a solid architecture .

SQLModel is an ORM, we already have SQLA, what are your thoughts?

Repo: here

from fastapi_best_architecture.

downdawn avatar downdawn commented on June 2, 2024

SQLModel is both an SQLAlchemy model and a Pydantic model, so there is a possibility to further merge and simplify 'models' and 'schemas'.

We can keep an eye on this progress:
Migration from SQLAlchemy to SQLModel.
tiangolo/full-stack-fastapi-template#541

from fastapi_best_architecture.

wu-clan avatar wu-clan commented on June 2, 2024

I agree with you, but I'll decline the offer.

Because SQLModel is not updated and fixed at a good pace and is missing documentation, in fact SQLModel was born here: https://github.com/tiangolo/pydantic-sqlalchemy to reduce manual schema definition and validation is great in my opinion;

Although the number of stars for SQLModel is promising, the number of users for it is much lower than for SQLA, and to use SQLModel, the users have to learn it as well,unless SQLModel is really all over the place, I'd migrate to it

from fastapi_best_architecture.

downdawn avatar downdawn commented on June 2, 2024

OK, I agree with you

from fastapi_best_architecture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.