Skip to content

Prepare making the DBAL editor API opt-in - #12550

Open
greg0ire wants to merge 1 commit into
doctrine:3.7.xfrom
greg0ire:prepare-opt-in-editor-api
Open

Prepare making the DBAL editor API opt-in#12550
greg0ire wants to merge 1 commit into
doctrine:3.7.xfrom
greg0ire:prepare-opt-in-editor-api

Conversation

@greg0ire

@greg0ire greg0ire commented Aug 6, 2026

Copy link
Copy Markdown
Member

The migration to the editor API is ongoing, some parts are already released. Some other parts are unreleased but already cause issues to proactive projects that test with dev versions of ORM.

I plan to follow this up with a change allowing us to use the editor API in our test suite and only there, until the migration is complete. When it is complete and only then, we should allow users to use it.

Fixes #12549

@greg0ire greg0ire added the Bug label Aug 6, 2026
Comment thread src/Tools/SchemaTool.php Outdated
@greg0ire

greg0ire commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

I guess we won't be making any progress on this today.

image

@greg0ire
greg0ire force-pushed the prepare-opt-in-editor-api branch from df34080 to c878319 Compare August 6, 2026 18:51
@greg0ire
greg0ire requested review from SenseException and derrabus and removed request for SenseException and derrabus August 6, 2026 18:52
The migration to the editor API is ongoing, some parts are already
released. Some other parts are unreleased but already cause issues to
proactive projects that test with dev versions of ORM.

I plan to follow this up with a change allowing us to use the editor API in our
test suite and only there, until the migration is complete. When it is
complete and only then, we should allow users to use it.
@greg0ire
greg0ire force-pushed the prepare-opt-in-editor-api branch from c878319 to e0ea0bc Compare August 6, 2026 21:37
@greg0ire greg0ire added this to the 3.7.0 milestone Aug 6, 2026
Comment thread src/Tools/SchemaTool.php
$this->platform = $em->getConnection()->getDatabasePlatform();
$this->quoteStrategy = $em->getConfiguration()->getQuoteStrategy();
$this->schemaManager = $em->getConnection()->createSchemaManager();
$this->useDbalEditorApi = false;

@greg0ire greg0ire Aug 7, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The follow up will make this dynamic, allowing to revert the drop in code coverage.

@greg0ire

greg0ire commented Aug 7, 2026

Copy link
Copy Markdown
Member Author

Here is what the follow-up looks like: #12554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant