You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
adispatch_request checks a request for input off the event loop. A
refusal asking for input is held against the spec's parameters before it is
answered 422, and that read ran on the loop. A Validator whose parameters
queries - a model-backed one, or one reading the request's tenant - raised SynchronousOnlyOperation there, so AsyncSpecView answered 500 where it
meant 422. The check now runs in its own sync_to_async hop, as reading the
request does.