APIv4 - Fix same-table joins and remove unused code
authorColeman Watts <coleman@civicrm.org>
Sat, 26 Jun 2021 01:19:06 +0000 (21:19 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 27 Jun 2021 01:14:46 +0000 (21:14 -0400)
commitd2982e40d122b08cf348506acc0ab90bb186e5f8
treee15c87f88c103adaa0fd9d4b95935b3952f35d8f
parent1d4cf3cd138bcbf7c5517470edbfb9b675db6a25
APIv4 - Fix same-table joins and remove unused code

This fixes implicit joins between a table and itself, e.g. the Contact.employer_id which links to the Contact table
Also removes alpha code no longer used by APIv4.
Civi/Api4/Service/Schema/SchemaMap.php
tests/phpunit/api/v4/Action/FkJoinTest.php
tests/phpunit/api/v4/Service/Schema/SchemaMapperTest.php