-
-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking change in v1.5.1 #330
Comments
Opened #329 to make this stricter args checking an opt-in. |
This change should have only been done in a new major version. Definitely not a patch version. |
Besides doing this, it might be nice to offer |
@filikos is this going to be corrected/reverted in some way, or does the community need to create a fork in which patch versions don't incorporate backwards-incompatible changes? |
Breaking change fix was merged #329 Release: https://github.com/DATA-DOG/go-sqlmock/releases/tag/v1.5.2 |
The latest release changes the way arguments are matched which is causing a breaking behavior compared to previous versions.
See #295.
Operating system and Go Version
Ubuntu 22.04 and Go v1.21.1
Issue
Arguments must now always be provided otherwise it does not match anymore.
Reproduction steps
Expected Result
Instead of introducing a breaking change, the behavior should be enabled explicitly by the developer. Here an error is returned.
Actual Result
It should not return an error.
The text was updated successfully, but these errors were encountered: