dotnet / dotnet/efcore

Allow stripping away the 1st part of the query pipeline to reduce application size

Open
#29,762 0 comments 0 reactions 0 assignees View on GitHub
area-aot area-query
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Until we support dynamic queries (#29760, currently out of scope), the 1st part of the query pipeline will never be invoked in AOT mode. This means we can strip it out to reduce application size. We'd probably do this via a [feature switch](https://github.com/dotnet/runtime/blob/main/docs/workflow/trimming/feature-switches.md). This feature switch could be activated automatically when publishing to AOT.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.