forked from orbit-oss/flask
refactor lazy loading
Remove the `--eager-loading/--lazy-loading` options and the `DispatchingApp` middleware. The `run` command handles loading exceptions directly. The reloader always prints out tracebacks immediately and always defers raising the error.
This commit is contained in:
parent
095651be9e
commit
5d8e35653f
6 changed files with 31 additions and 118 deletions
|
|
@ -92,6 +92,12 @@ Unreleased
|
|||
JSON response like a dict is. :issue:`4672`
|
||||
- When type checking, allow ``TypedDict`` to be returned from view
|
||||
functions. :pr:`4695`
|
||||
- Remove the ``--eager-loading/--lazy-loading`` options from the
|
||||
``flask run`` command. The app is always eager loaded the first
|
||||
time, then lazily loaded in the reloader. The reloader always prints
|
||||
errors immediately but continues serving. Remove the internal
|
||||
``DispatchingApp`` middleware used by the previous implementation.
|
||||
:issue:`4715`
|
||||
|
||||
|
||||
Version 2.1.3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue