You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
QueryableElementTypes, which generated code uses to register queryable element and sort key types (part of #2855)
The ArcCore sample uses source-generated JSON and ships acceptance specs that run against its untrimmed, trimmed and NativeAOT published executables. (part of #2859)
Changed
The Arc source generator now registers every model-bound read model that has a collection query, with the type of each public property. Counting, paging and sorting its IQueryable results then use typed operations instead of building generic methods at runtime. Sort fields, sort directions, thrown exceptions and the expressions handed to query providers stay the same. Under the JIT, element and property types without a registration keep the reflection path. In ahead-of-time compiled code they fail with MissingQueryableElementType or MissingQueryableSortKey, which name the types. (part of #2855)
Fixed
Commands no longer fail with an internal error in applications that turn off reflection-based JSON serialization, such as trimmed and NativeAOT publishes. (#3575)