-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Entity level commit order #10792
Merged
greg0ire
merged 101 commits into
doctrine:entity-level-commit-order
from
greg0ire:entity-level-commit-order
Jun 23, 2023
Merged
Entity level commit order #10792
greg0ire
merged 101 commits into
doctrine:entity-level-commit-order
from
greg0ire:entity-level-commit-order
Jun 23, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
missing ';' on Obtaining the EntityManager section, bootstrap code line 32
…ve-to-many-lazy-check Make "targetEntity must not be a mapped superclass" a lazy check
DiscriminatorColumnMapping is just a specialization of the array shape that is right of the pipe: it has the same fields, except fewer fields are nullable. The union of that is the same thing as the array shape.
Remove duplicate array shape
It looks like some issues are now represented by different classes.
Merge 2.14.x up into 2.15.x
fix(persistent-collection): check association is not nullable before using it as an array
When an entity have a backed enum as identifier, `UnitOfWork` tries to cast to string when generating the hash of the id. This fix calls `->value` when identifier is a `BackedEnum`. Fixes doctrine#10471 Fixes doctrine#10334
…ciation Deprecate overriding associations not inherited from a mapped superclass
* Add test case for doctrine#7717 * Do not hide null equality checks in `SqlValueVisitor::walkComparison` * Annotate `GH7717Parent::$children` type
fix typo in HydrationCompleteHandler doc
After update to orm 2.14.2 invalid xsd schema error is occured, when in field,id or attribute-override have type is FQCN
…mapping Fixed xsd schema for support FQCN type
…2.15.x_VZV5I0St Merge release 2.14.3 into 2.15.x
This is the result of the contradiction between the phpdoc (ClassMetadata), and the condition, which guarantees $metadata is not a ClassMetadata. Relaxing the phpdoc leads to other phpstan issues, about properties that exist in ClassMetadata but not in PersistentClassMetadata. The right way to fix this would be to switch from a deprecation to an exception, but that is not the path we have taken, and all this will disappear in 3.0.x anyway, so let's not bother.
…tityColumns when we know the platform (doctrine#10759)
… for orphan removal. In my case a custom doctrine type of Uuid object is converted to string by simply casting it, resulting in a hex DELETE FROM x WHERE id = ? query, whilst it should've been converted along the way to it's binary representation. This leads to no deletions being made at all as you would expect making use of doctrine custom type's as an identifier. This commit fixes usage of ramsey/uuid or symfony/uid as custom id types when making use of orphan removal.
…many-custom-id-orphan-removal
It brings nothing over what PHPUnit now natively does.
Partial objects are deprecated. They were handy to make the generated SQL more legible, but we should refrain from relying on them.
…transaction commit
When collection updates/join table cleanups do not happen through specialized Entity-/CollectionPersister methods but instead as "plain" updates, we may issue a lot more queries than expected.
…-removals-to-post-commit
I tweaked the code so that it would not fall victim to slevomat/coding-standard#1585 or slevomat/coding-standard#1586, thus fixing the phpcs job without losing information or breaking other jobs.
Work around slevomat/coding-standard issues
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.