u/West-Goose3582

▲ 9 r/codex

How do you guys code without seeing the code?

I am on vs code, sometimes I use antigravity, but I do not think I can use it anymore. Cursor, Codex, Antigravity, Opencode all look same.

How do I see code with file structure?

How do I get the keep/remove button?

How do I use terminal?

How can I code like sane human along with coding agents?

reddit.com
u/West-Goose3582 — 3 hours ago
▲ 31 r/FastAPI

Coming from ExpressJS, I love FastAPI but... do we really need two sets of models?

Coming from ExpressJS, I’ve been loving how fast and easy FastAPI is. In my Node ecosystem, I usually use Prisma with PostgreSQL, which means I don't strictly need separate models for data i/o. While I can define validation schemas (like Zod) if needed, it’s not forced on a model-by-model basis. If it's a non-mission-critical project and I know what's in the payload, I can skip validation entirely.

But in FastAPI, it feels like I'm forced to maintain two separate models: a Pydantic model for request/response validation, and a SQLAlchemy model for the database.

Does it always have to be this way? Can it just be a single model, and what is the actual industry standard here?

reddit.com
u/West-Goose3582 — 1 day ago