dotnet / dotnet/efcore

Generate less code in the compiled model

Open
#34,440 0 comments 0 reactions 1 assignee Claimed by @AndriySvyryd View on GitHub
area-aot area-model-building
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

- Leverage defaults (in particular, for provider-specific configuration)
- Don't emit exceptions (like `ComplexCollectionNullElementSetter`) when detailed errors are not enabled
- Use visitors to find the referenced metadata objects in the generated lambdas and don't output code for the unused ones. See f0e88d40a4ec337c9ecf5225659c630c27a79dc7
- Or inline them (see #34442)

Related: #31370

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.