Skip to content

Add support for feature switches, add option to disable dynamic objects support#1435

Merged
Sergio0694 merged 4 commits intostaging/AOTfrom
user/sergiopedri/feature-switches
Jan 17, 2024
Merged

Add support for feature switches, add option to disable dynamic objects support#1435
Sergio0694 merged 4 commits intostaging/AOTfrom
user/sergiopedri/feature-switches

Conversation

@Sergio0694
Copy link
Member

Closes #1434

Overview

This PR includes the following changes:

  • Adds a new FeatureSwitches class and the necessary infrastructure for custom feature switches
  • Adds a new CsWinRTEnableDynamicObjectsSupport feature switch to disable support for dynamic objects
  • Wires up the feature switches in the projections setup
@Sergio0694
Copy link
Member Author

Saves about 19 KB on .NET 8:

image

@Sergio0694 Sergio0694 merged commit 3b2c34a into staging/AOT Jan 17, 2024
@Sergio0694 Sergio0694 deleted the user/sergiopedri/feature-switches branch January 17, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants