-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Added ParameterType::BINARY to UuidBinaryOrderedTimeType #72
Conversation
It should be added in |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #72 +/- ##
===========================================
Coverage 100.00% 100.00%
- Complexity 60 61 +1
===========================================
Files 5 5
Lines 105 107 +2
===========================================
+ Hits 105 107 +2
|
@@ -12,6 +12,7 @@ | |||
|
|||
namespace Ramsey\Uuid\Doctrine; | |||
|
|||
use Doctrine\DBAL\ParameterType; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall fine to have this patch, but then we need to bump the minimum supported doctrine/dbal
to ^3
.
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…eckout-3 Bump actions/checkout from 2 to 3
Thank you for contributing! 🎉 Apologies on the lengthy delay. I've committed this change in 41cfa5f. |
By adding this method, we allow Doctrine to set appropriate type for binding UUID parameters in queries. Otherwise they are bound as
ParameterType::STRING
by default. The default approach works in MySQL, but does not in Sqlite, when e.g. running functional tests.