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
I'd expect the compile to fail with the below configuration, but it passes; it fails when it actually tries to perform the work:
TypeAdapterConfig.GlobalSettings.RequireExplicitMapping=true;varconfig=TypeAdapterConfig<Source,Destination>.NewConfig();config.Compile();// Should fail herevarsource=newSource{Child=newList<SourceChild>{newSourceChild{Id="MyId"}}};_=source.Adapt<Destination>();// Actually fails here
The text was updated successfully, but these errors were encountered:
Given the following classes:
I'd expect the compile to fail with the below configuration, but it passes; it fails when it actually tries to perform the work:
The text was updated successfully, but these errors were encountered: