Skip to content
Discussion options

You must be logged in to vote

Thanks for the discussion everyone!

Yep, FastAPI is a different thing and different "philosophy".

One of the main ideas in FastAPI is to have great developer experience, with autocompletion and inline errors for everything, to have much more confidence in the correctness of the code. It's also designed so that you can do the minimum effort and get everything by default from the same simple standard type annotations.

Having a schema-first approach would mean that the code would have to be very dynamic, without type annotations, that means you wouldn't get autocompletion nor inline errors.

FastAPI is designed around OpenAPI, and the intended workflow is that you would start in your code, wi…

Replies: 14 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Kludex
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem question-migrate
10 participants
Converted from issue

This discussion was converted from issue #2942 on February 27, 2023 22:58.