Added
- Map web API responses to typed domain objects (BDR read pattern).
#[WebQuery]gainstype('row'|'row_list') andfactoryparameters, mirroring#[DbQuery](#5) WebResponseMapperhydrates a decoded JSON response into objects via a DI-resolved factory (static or instance) or the return-type entity constructor, binding response keys to parameter names (#5)PostFetchInterface/PostFetchContextto compose the mapped result into an aggregate return type through a staticfromContext()named constructor (#5)- Dedicated exceptions
InvalidWebEntityException,InvalidWebFactoryException,EntityWithoutConstructorException, andMissingResponseKeyException(#5)
Changed
- Add
phpdocumentor/reflection-docblock(^5.3 || ^6.0) as a runtime dependency, used to resolve entity types from@returndocblocks (#5)
The raw array / string / PSR-7 MessageInterface return paths are unchanged, so this release is backward compatible.