Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Routing] AddMONGODB_ID
to requirement patterns#59922
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
MONGODB_ID
to requirement patternsMONGODB_ID
to requirement patternsThere 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.
PR Overview
This PR adds a new constant, Requirement::MONGODB_ID, to support validation of MongoDB ObjectIDs in hexadecimal format. The changelog has been updated accordingly.
- Added changelog entry documenting the new constant for MongoDB ObjectID validation
Reviewed Changes
File | Description |
---|---|
src/Symfony/Component/Routing/CHANGELOG.md | Updated changelog to document the addition of the new constant |
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
7a2aaaf
to44d621b
CompareUh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Routing/Tests/Requirement/RequirementTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
44d621b
to84085d5
CompareThank you@GromNaN. |
5e59554
intosymfony:7.3Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
TheMongoDB ObjectID is a 12-bytes binary value represented as an hexadecimal string of 24 characters.
They are used by default in Doctrine MongoDB ODM.