Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Configuration Binder Test with WASM and Trimming #72485

Merged

Conversation

tarekgh
Copy link
Member

@tarekgh tarekgh commented Jul 19, 2022

Fixes #72465

@ghost
Copy link

ghost commented Jul 19, 2022

Tagging subscribers to this area: @dotnet/area-extensions-configuration
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: tarekgh
Assignees: -
Labels:

area-Extensions-Configuration

Milestone: -

@tarekgh tarekgh force-pushed the FixConfigurationBinderTestWithWasmAndTrimming branch from eb971c9 to 8e76c5c Compare July 19, 2022 20:21
Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tarekgh tarekgh added this to the 7.0.0 milestone Jul 19, 2022
@tarekgh tarekgh marked this pull request as ready for review July 19, 2022 23:14
@tarekgh tarekgh merged commit ead6449 into dotnet:main Jul 20, 2022
@tarekgh tarekgh deleted the FixConfigurationBinderTestWithWasmAndTrimming branch July 20, 2022 00:57
@SteveDunn
Copy link
Contributor

Just catching up on things; was the original test failure due to a constructor on SortedSet being trimmed for WASM? (I'm not too sure of the terminology I just used there!)

@eerhardt
Copy link
Member

Correct. There are WebAssembly (WASM) test legs that fully trim the unit tests and try to run them. Since no code in the unit test was using the parameterless constructor on SortedSet, it was being trimmed causing the test to fail.

@SteveDunn
Copy link
Contributor

That's amazing! Clever stuff indeed.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

normal-microsoft.extensions.configuration.binder.tests work item
3 participants