Repository navigation
Release v22.38.0
Added
- The generator emits member walkers for the reachable graph of command and query argument types, and
ModelGraphValidatorreads their properties through generated, statically typed getters instead of reflection. Validation is unchanged: the same validators run in the same order with the same member paths. Walkers are generated only where they are provably identical to reflection: the type and all its property-declaring bases are declared in source in the same compilation, none of them is partial (another generator could add properties), and no two public properties in the hierarchy share a name. Every other type, and runtime-typed values behindobjector interfaces, keeps the reflection walk (Refs #2854) ModelGraphWalkersandModelGraphMember, for generated code (Refs #2854)
The trim/AOT baseline is unchanged: the reflection walk remains for runtime-typed members.
Reviewed with Anthropic models only (no cross-provider review available right now).