Problem/Motivation
Follow up from #3256642: Introduce database driver extensions and autoload database drivers' dependencies.
That issue introduce database driver extensions that can autoload dependencies.
In this issue, add autoload directory for the parent database driver modules in Composer::preAutoloadDump.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3366852
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
govind_giri_goswami commentedComment #5
govind_giri_goswami commentedThe modification adds autoload directories for the parent database driver modules (Drupal\mysql and Drupal\pgsql) using the PSR-4 autoload standard. These directories are specified relative to the Drupal core/modules directory. The remaining parts of the method, which handle the addition of classmap entries for other dependencies, remain unchanged
Comment #6
smustgrave commentedThis needs an issue summary update.
Reading the parent issue talks about conditionally adding. The MR seems to load both drivers no matter what. Is that really desired?