APIv4 - Add Relationship custom fields to RelationshipCache entity
authorColeman Watts <coleman@civicrm.org>
Mon, 8 Feb 2021 15:11:10 +0000 (10:11 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 9 Feb 2021 03:08:10 +0000 (22:08 -0500)
commitcbda979058bb291d19efad73b703d3fcda991191
tree569f681542279409cf3a550403ff9e4122edc1d1
parentcd36450e02a1d091f0e733062d4ff82cf0c50544
APIv4 - Add Relationship custom fields to RelationshipCache entity

Because the RelationshipCache entity is meant to be used without requiring a join to the Relationship table,
this permits direct access to Relationship custom fields as if they belong to the RelationshipCache table.
CRM/Core/SelectValues.php
Civi/Api4/Service/Schema/SchemaMapBuilder.php
Civi/Api4/Service/Spec/SpecGatherer.php
Civi/Api4/Utils/CoreUtil.php
tests/phpunit/api/v4/Action/BasicCustomFieldTest.php