[PR #74] [CLOSED] Capturing the index of the existing mapping before removing and insert the updated mapping at the same index of the list #756

Closed
opened 2025-12-29 15:33:03 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/74
Author: @raghavendrabankapur
Created: 12/20/2017
Status: Closed

Base: masterHead: master


📝 Commits (2)

  • 7c75d8d Capturing the index of the existing mapping before removing and insert the updated mapping at the same index
  • 6aef44f Updating the comment in the method with respect to the changes

📊 Changes

1 file changed (+23 additions, -2 deletions)

View changed files

📝 src/WireMock.Net/Server/FluentMockServer.cs (+23 -2)

📄 Description

This is to fix the issue #73
We are inserting the updated mapping with the same guid in the same position rather than at the end of the list. This will keep the list state intact


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/wiremock/WireMock.Net/pull/74 **Author:** [@raghavendrabankapur](https://github.com/raghavendrabankapur) **Created:** 12/20/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`7c75d8d`](https://github.com/wiremock/WireMock.Net/commit/7c75d8d23e051f42d00a192a54a6e23f80737e6b) Capturing the index of the existing mapping before removing and insert the updated mapping at the same index - [`6aef44f`](https://github.com/wiremock/WireMock.Net/commit/6aef44f943c0983754e706f4fc73cc4701a081b3) Updating the comment in the method with respect to the changes ### 📊 Changes **1 file changed** (+23 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net/Server/FluentMockServer.cs` (+23 -2) </details> ### 📄 Description This is to fix the issue #73 We are inserting the updated mapping with the same guid in the same position rather than at the end of the list. This will keep the list state intact --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 15:33:03 +01:00
adam closed this issue 2025-12-29 15:33:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#756