Skip to content

fix(v3): pass cors option to mock server transport, defaulting to true - #1767

Merged
mefellows merged 7 commits into
masterfrom
copilot/fix-delete-request-handling
May 6, 2026
Merged

fix(v3): pass cors option to mock server transport, defaulting to true#1767
mefellows merged 7 commits into
masterfrom
copilot/fix-delete-request-handling

Conversation

Copilot AI commented May 4, 2026

Copy link
Copy Markdown
Contributor

Adds CORS pre-flight option to configuration and properly wires it through.

The previous mock server behaviour was to automatically enable CORS, and the user-specified configuration was ignored. Updated PactV3 interface, and adds support to the PactV4 (Pact) interface.

Fixes #1696

Copilot AI changed the title [WIP] Fix DELETE request handling in PactV3 mock server fix(v3): pass cors option to mock server transport, defaulting to true May 4, 2026
Copilot AI requested a review from mefellows May 4, 2026 23:12
@mefellows
mefellows marked this pull request as ready for review May 6, 2026 00:23
@mefellows
mefellows merged commit c31ebb2 into master May 6, 2026
48 checks passed
@mefellows
mefellows deleted the copilot/fix-delete-request-handling branch May 6, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PactV3 mock server fails to handle DELETE requests after upgrade to v16.3.0 (pact-core v19)

2 participants