[Feature] Disable partial mappings by default in standalone version #29

Closed
opened 2025-12-29 14:21:19 +01:00 by adam · 1 comment
Owner

Originally created by @phillee007 on GitHub (Jun 9, 2017).

Originally assigned to: @StefH on GitHub.

In the standalone code, it has AllowPartialMapping set to true by default. Perhaps this should be set to false by default as it can be very confusing when debugging and seeing results being returned for things that you don't expect?

[SwitchArgument("AllowPartialMapping", true, Description = "Allow Partial Mapping (default set to true).", Optional = true)]
public bool AllowPartialMapping { get; set; }
Originally created by @phillee007 on GitHub (Jun 9, 2017). Originally assigned to: @StefH on GitHub. In the standalone code, it has AllowPartialMapping set to true by default. Perhaps this should be set to false by default as it can be very confusing when debugging and seeing results being returned for things that you don't expect? ``` [SwitchArgument("AllowPartialMapping", true, Description = "Allow Partial Mapping (default set to true).", Optional = true)] public bool AllowPartialMapping { get; set; } ```
adam added the featurebug labels 2025-12-29 14:21:19 +01:00
adam closed this issue 2025-12-29 14:21:20 +01:00
Author
Owner

@StefH commented on GitHub (Jun 10, 2017):

done

97c7a15302

@StefH commented on GitHub (Jun 10, 2017): done https://github.com/StefH/WireMock.Net/commit/97c7a153020b3fa468d5b563e5cd5cc411887d32
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#29