Skip to content

Release v22.38.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 21:49
0b668b6

Added

  • The generator emits member walkers for the reachable graph of command and query argument types, and ModelGraphValidator reads 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 behind object or interfaces, keeps the reflection walk (Refs #2854)
  • ModelGraphWalkers and ModelGraphMember, 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).