-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Allow classname in 'value' attribute of xml discriminator-mapping field #11450
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
Allow classname in 'value' attribute of xml discriminator-mapping field #11450
Conversation
Not sure how I forgot these.
Narrow down parameter types for quote strategies
ClassMetadata->$fetch
This must have been lost when merging up d7d6b9d
Declare options property
It does not seem to ever be empty
Make the join table name and join column name mandatory
Migrate to the object API of Join{Column,Table}Mapping
The linked issue has been addressed, this rules should have been removed during a merge up, as it is no longer present on 2.x
That property has been removed from 3.0.x
Note that we also remove UpdateCommandTest::testItPrintsTheSql() because it relied on not passing --complete to work.
Cleanup bc layers
Avoid another occurrence of ArrayAccess
Merge 2.19.x up into 3.1.x
To reduce Algolia operations and indexes older versions get removed
Fixed proxy initialization for EnumReflectionProperty
* 2.19.x: Set column length explicitly (#11393) Add missing import Remove unused variable (#11391) [Documentation] Removing "Doctrine Mapping Types" ... (#11384) [GH-11185] Bugfix: do not use collection batch loading for indexBy assocations. (#11380) Improve lazy ghost performance by avoiding self-referencing closure. (#11376)
SchemaValidator: Changing mapping of BIGINT to string|int
Fix fromMappingArray definition
docs: update PHP version in doc
* 2.19.x: Fix BIGINT validation (#11414) Fix templated phpdoc return type (#11407) [Documentation] Merging "Query Result Formats" with "Hydration Modes" Fix psalm errors: remove override of template type Update dql-doctrine-query-language.rst Adding `NonUniqueResultException` [Documentation] Query Result Formats
Merge 3.0.x up into 3.1.x
Targeting 2.19.x, since we want the updates to bubble up. Since Dependabot has had no effect on doctrine/dbal yet, I suppose that means that "dependabot.yml" must be present on the default branch.
Setup Dependabot
It will handle caching for us.
According to #11208, you're probably not targeting the right branch. |
Closing to start from the correct branch |
@MatteoFeltrin it is possible to retarget a PR with the edit button. |
@greg0ire sorry for my ignor A6F6 ance, it was the first time contributing to an upstream repository, I forked with only with 3.1.x branch and didn't know how to add the correct one, so preferred to do it from scratch 😅 |
No worries. |
fixes #11449
In relation to #10630
This PR allows a more loosen validation of the
value
attribute ofdiscriminator-mapping
field, usingorm:type
in the XSD schema as it was done in the linked pull request.The test I written loads the entity enabling the validation against XSD schema, thus expects no exception to be thrown.