Repository navigation
Release v22.33.1
Changed
- Query paging, counting and sorting, and read model interception, call typed generic helpers instead of building
Queryableand interceptor calls through reflection, which trimming and NativeAOT cannot follow. The trim/AOT baseline drops from 674 to 625 diagnostics (Refs #2855, Refs #2856) - An open generic read model interceptor must implement
IInterceptReadModel<T>over its own type parameter; any other shape now fails at startup withOpenGenericReadModelInterceptorMustInterceptItsTypeParameternaming the type. Such an interceptor already made every query fail (Refs #2856)
Fixed
- An interceptor class that implements
IInterceptReadModel<T>for more than one read model now intercepts each of them; before, only the first interface found was used. If such a class is also registered in DI for one of those read models, the discovered type is now used for it instead of the registered instance (Refs #2856)
Exceptions thrown synchronously by an interceptor or by Skip/Take are no longer wrapped in TargetInvocationException; query results are unchanged.
Reviewed with Anthropic models only (no cross-provider review available right now).