style(563): rewrap the residue paragraph in the ScriptedScheduleControllerTests docstring
No content change. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015QqCpYFsKgnAnx6jVwrKiV
This commit is contained in:
@@ -35,10 +35,11 @@ namespace ErsatzTV.Tests.Controllers;
|
||||
/// program calls back over; and MVC's binding <i>wrapper</i> — the input formatter's content-type
|
||||
/// selection and malformed-body handling, model validation (a non-nullable reference type picks
|
||||
/// up an implicit required check there), and the <c>[ApiController]</c> automatic 400 either
|
||||
/// produces before an action runs, since every test here hands an action an already-bound object. The serializer <i>inside</i> that wrapper is not residue: request bodies are
|
||||
/// deserialized with <see cref="ApiJsonSettings" />, the same configuration <c>Startup</c> hands
|
||||
/// to <c>AddNewtonsoftJson</c>, so the fixture is bound the way production binds it. That is not
|
||||
/// a formality — Newtonsoft and System.Text.Json disagree on the DTOs' <c>required</c> members,
|
||||
/// produces before an action runs, since every test here hands an action an already-bound object.
|
||||
/// The serializer <i>inside</i> that wrapper is not residue: request bodies are deserialized with
|
||||
/// <see cref="ApiJsonSettings" />, the same configuration <c>Startup</c> hands to
|
||||
/// <c>AddNewtonsoftJson</c>, so the fixture is bound the way production binds it. That is not a
|
||||
/// formality — Newtonsoft and System.Text.Json disagree on the DTOs' <c>required</c> members,
|
||||
/// which <see cref="Production_Body_Binder_Ignores_Required_Members" /> pins. The reasoning for
|
||||
/// the scope-out is in docs/testing.md → "Scripted playout coverage" and the decision record
|
||||
/// <c>testing.scripted-engine-in-process-net</c>.
|
||||
|
||||
Reference in New Issue
Block a user