Parity PR 5b: service tests, one VERSION, and the 415 on a non-JSON write (mcl-bookclub#9) #18
Loading…
Reference in a new issue
No description provided.
Delete branch "mercurius/4-pr5b-service"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parity PR 5b of macula-services/mcl-bookclub-phoenix#4, with the Phoenix half of macula-services/mcl-bookclub#9.
VERSIONfor the umbrella (every app and the release read it;/healthreports the application's own version).MclBookclubPhoenixWeb.RequireJsonWritein the:apipipeline answers415 {"ok": false, "error": "unsupported_media_type"}for anyPOSTthat is notapplication/json(charset allowed), before the body is read. Red first (5741515), then the plug (cf504c4). It includes the Erlang fold from the Fable PASS: the DNS-rebinding wording (#12) and the malformed-Content-Type test.Local gates on
b37d5d97: format, compile --warnings-as-errors, credo --strict, mix test (259 tests, 0 failures). Dialyzer is left to CI.Refs macula-services/mcl-bookclub-phoenix#4
Refs macula-services/mcl-bookclub#9
Landed by fast-forward: main is
4350b75abc(from7ed3ef30). This repository does not allow the manually-merged style, so the PR is closed by hand.Pull request closed