Repository navigation
·
2 commits
to main
since this release
Upgrading
ReplaceRequestnow requires a validation-carryingResponseError. ItsResponseErrormust be aValidatableViewModelRequestError, asUpdateRequest's already is. A replace request declaring another error type stops compiling;ValidationErroris the ready-made choice.- A
ReplaceRequestserved by a hand-writtenServerRequestControllercan move toregister(request:app:). Give its body aDataModelWriterconformance and its query a target, register it, and delete the controller.
Added
-
register(request:app:)serves aReplaceRequest(PUT). A replace registers with one line and runs the same write pipeline as an update: the body is aDataModelWriterwithloadingPlan(.write, within:)candidates, the target resolves from the query, and the response is built from the refreshed records. The target must already exist, and a fieldapply(to:)does not assign keeps its stored value. Plugin 2.82.0. -
fosmvvm-orientationskill. A session articulates the forward-projection rules and walks six failure scenarios before its first edit to ViewModels, Views, or client-hosted Ops. A project can require it with thePreToolUsegate ingate-hook.md, and maps the scenario names to its own types withproject-mappings-template.md. Plugin 2.81.0.