APIv4 - Rename `id_field` to `primary_key` and make it an array
authorColeman Watts <coleman@civicrm.org>
Fri, 2 Jul 2021 02:10:52 +0000 (22:10 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 4 Jul 2021 02:36:54 +0000 (22:36 -0400)
commitb675a45723292d4cd5ff2c4b74d2358794067544
tree34c6d479ac5f3b25c1a31ba0fe997c1211ec23a6
parentce82601abe696c3dc1040fe2efa12be1e4c049dd
APIv4 - Rename `id_field` to `primary_key` and make it an array

Some entities have a combination of primary keys instead of a single field.
This is allowed in the schema so the API needs to be able to handle it too.
Renaming it for consistency with the schema.
Civi/Api4/CustomValue.php
Civi/Api4/Entity.php
Civi/Api4/Generic/AbstractEntity.php
Civi/Api4/Generic/BasicEntity.php
Civi/Api4/Query/Api4SelectQuery.php
ext/afform/core/Civi/Api4/Afform.php
ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php
tests/phpunit/api/v4/Action/BasicActionsTest.php
tests/phpunit/api/v4/Entity/ConformanceTest.php