Skip to content

Conversation

@soartec-lab
Copy link
Member

fix #2478

Changed the default mock delay from 1000 to false to disable delay by default.

Summary

Changed the default value of override.mock.delay from 1000 to false.
Default delay creates noise for initial users. Disabling it by default provides a better out-of-the-box experience.
The default mock delay is now false (disabled) instead of 1000ms. Users who want delay must explicitly set it.

// To maintain delay
export default {
  petstore: {
    output: {
+      mock: {
+        delay: 1000, // In milliseconds
+      },
    },
  },
};

@melloware melloware added the breaking change Breaking change on upgrade label Oct 26, 2025
@soartec-lab soartec-lab marked this pull request as ready for review October 26, 2025 12:02
@soartec-lab soartec-lab added enhancement New feature or request mock Related to mock generation msw MSW related issues labels Oct 26, 2025
@soartec-lab soartec-lab added this to the 8.0.0-rc.0 milestone Oct 26, 2025
@soartec-lab soartec-lab merged commit 5c59fec into orval-labs:master Oct 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Breaking change on upgrade enhancement New feature or request mock Related to mock generation msw MSW related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8.0.0: breaking changes

2 participants