Problem/Motivation
The entity query system (and possibly the main query system too) work with a list of namespaces to find the right class:
$this->namespaces = QueryBase::getNamespaces($this);
...
$class = QueryBase::getClass($this->namespaces, 'Query');
This needs documenting, as it's a little bit convoluted.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3353693
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:
- 3353693-the-way-queryfactory
changes, plain diff MR !3819
Comments
Comment #2
joachim commentedThere is some documentation in \Drupal\Core\Entity\Query\Sql\pgsql\QueryFactory:
but it doesn't explain the implementation details and it's hard to find!
Comment #5
joachim commentedThanks! Looks good, just needs a few tweaks.
Comment #6
rohan-sinha commentedComment #7
smustgrave commentedSmall changes
Comment #8
rohan-sinha commentedComment #9
smustgrave commentedThink that reads better.
Comment #11
catchCommitted 0b7d095 and pushed to 10.1.x. Thanks!