-
-
Notifications
You must be signed in to change notification settings - Fork 507
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
doc: Review mapping ORM and ODM cookbook #2658
Conversation
4470b13
to
f50ae63
Compare
private $title; | ||
private $body; | ||
|
||
// ... |
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.
With public properties, we don't need anything more. This comment is a complete waste of space.
f50ae63
to
98a1963
Compare
@alcaeus added tests and updated the example to ensure we have the same behavior for ORM and ODM. |
b378961
to
21c1cd8
Compare
@@ -40,6 +40,7 @@ | |||
"ext-bcmath": "*", | |||
"doctrine/annotations": "^1.12 || ^2.0", | |||
"doctrine/coding-standard": "^12.0", | |||
"doctrine/orm": "^3.2", |
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.
Oof 😅
paths: [__DIR__], | ||
isDevMode: true, | ||
); | ||
$connection = DriverManager::getConnection([ |
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.
Should we add checks and skip this test if pdo_sqlite
is not installed?
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.
Done.
21c1cd8
to
4d48133
Compare
* 2.9.x: (24 commits) Fix typo in code example (#2670) Label PRs about GH actions with "CI" (#2632) Review basic mapping (#2668) Fix wording (#2667) Add native type to private properties and final classes (#2666) Review and add tests on `ResolveTargetDocumentListener` (#2660) Remove soft-delete-cookbook (#2657) doc: Remove wakeup and clone cookbook (#2663) Modernize generated code for Hydrators (#2665) Add tests for introduction (#2664) doc: Review mapping ORM and ODM cookbook (#2658) doc: Review cookbook on blending ORM and ODM (#2656) doc: Review and test validation cookbook (#2662) Update custom mapping example (#2654) doc: Review Simple Search Engine Cookbook (#2659) doc: Add cookbook about embedding referenced documents using $lookup (#2655) doc: Add type to properties (#2652) doc: Review custom collections and repository docs (#2653) doc: Review Getting Started (#2650) Move annotations-reference to attributes-reference (#2651) ...
Summary
ORM
andODM
) so that attribute namespaces are more legible.