Giter Site home page Giter Site logo

Comments (4)

rszamszur avatar rszamszur commented on June 15, 2024 1

@jeanlst To be honest, I've initially chosen SQLModel since it combines pydantic and SQLAlchemy which is exactly what I wanted to do. Also since tiangolo has a lot of followers I assumed this project will gain a decent amount of contributors quickly, So I would end up implementing the same solution but heavily outnumbered 😆. Lastly, I guess I wanted to go the easy way.

However, you're right in terms of maturity and release frequency. Also from what I've seen async session is not fully implemented, so no performance advantage (yet). Async SQLAlchemy it is then :) Thanks for the input!

Have a good one!

from fastapi-mvc.

jeanlst avatar jeanlst commented on June 15, 2024 1

Nice! I'm keeping tabs on the project and you have been doing a great job so far! I'm still getting into all this stuff so I haven't been that helpful yet, bot hopefully in the future!

from fastapi-mvc.

rszamszur avatar rszamszur commented on June 15, 2024 1

@jeanlst just wanted to let you know, that this feature is next in line to implement. I don't know the ETA since there is some degree of unknown regarding how this will be implemented exactly. But this and few other issues combined will be a whole deal:

  • Databases support (this particular issue)
  • Generating models and migrations
  • Generate whole resource scaffold (meaning controller + model + migrations + tests)
  • Depending on chosen DB engine, add database HA cluster deployment in K8s (similar to Redis in make dev-env) but also I want to create another script for just deploying application stack in Kubernetes. It'll be probably a generator as well. I guess something like fastapi-mvc generate k8s-deployment [OPTIONS] [ARGS] in which you can choose what to include.

In the meantime controller and generator generators feature is already available with 0.11.0 release. It's not fully documented, but documentation itself got an upgrade too, and there is a basic howto on controller generator. Any feedback is always welcome :)

from fastapi-mvc.

jeanlst avatar jeanlst commented on June 15, 2024

@rszamszur why not use async sqlalchemy? SQLModel seems pretty good so we but I feel it's not really that mature yet and the releases are taking a lot of time. Also SQLAlchemy is kinda of a staple I feel like

from fastapi-mvc.

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.