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
Before v11 the default behavior of moduleIdGeneratorAlgorithm (which didn't really exist) was the hash one.
V11 introduced a reference algorithm and changed it to be the default. This is a regression and is not documented in the non-existing release notes of v11.
Even if we decide that the default value should be changed back, there is currently no way of controlling the value of moduleIdGeneratorAlgorithm in TestingModuleBuilder.
Please change the default value and allow to change the algorithm in TestingModuleBuilder.
Minimum reproduction code
No response
Input code
Expected behavior
change the default algorithm back to hash and allow controlling the algorithm in TestingModuleBuilder
Other
No response
The text was updated successfully, but these errors were encountered:
rbnayax
changed the title
moduleIdGeneratorAlgorithm default value changed, and it can't be controlled in tests
regression: moduleIdGeneratorAlgorithm default value changed, and it can't be controlled in tests
Jan 19, 2025
Did you read the migration guide?
Is there an existing issue that is already proposing this?
Potential Commit/PR that introduced the regression
PR #13336
NestJS version
11.0.1
Describe the regression
Before v11 the default behavior of moduleIdGeneratorAlgorithm (which didn't really exist) was the hash one.
V11 introduced a reference algorithm and changed it to be the default. This is a regression and is not documented in the non-existing release notes of v11.
Even if we decide that the default value should be changed back, there is currently no way of controlling the value of moduleIdGeneratorAlgorithm in TestingModuleBuilder.
Please change the default value and allow to change the algorithm in TestingModuleBuilder.
Minimum reproduction code
No response
Input code
Expected behavior
change the default algorithm back to hash and allow controlling the algorithm in TestingModuleBuilder
Other
No response
The text was updated successfully, but these errors were encountered: