0717lee
0717lee
Confirmed the diagnosis on current `main`: `update_gateway` treats an *absent* auth field as an explicit clear. The uniqueness-check path a few hundred lines earlier already preserves the stored credential when...
Confirmed the diagnosis locally — this is a middleware-registration-order bug, not a store/schema problem: - `Starlette.add_middleware` does `user_middleware.insert(0, ...)`, so the later-registered `ObservabilityMiddleware` ends up **outermost** and runs before `AuthContextMiddleware`....
I checked the current state: #4059 is still open, with no comments, assignee, labels, timeline events, or linked PRs. The current docs say the function handles special cases according to...