APIv4 - Default select clause to exclude "Extra" fields
authorColeman Watts <coleman@civicrm.org>
Sat, 11 Sep 2021 19:16:18 +0000 (15:16 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 13 Sep 2021 13:45:12 +0000 (09:45 -0400)
commit60a6221505ce7914efb615df14ae664a04a7773f
treec04faebd2bc3925e6583d966a5d025fcba0558a3
parent741ebf1f3d6095b7cd8e1a6b6a55c19e8047646b
APIv4 - Default select clause to exclude "Extra" fields

Recently a "type" property was added to getFieldSpec to allow "Extra"
calculated fields to be declared. This updates api Get to *not*
select those fields by default, as their calculation can be expensive.
Civi/Api4/Generic/AbstractGetAction.php
Civi/Api4/Generic/DAOGetAction.php
ext/afform/core/Civi/Api4/Action/Afform/Get.php
ext/afform/core/Civi/Api4/Afform.php
ext/afform/core/tests/phpunit/Civi/Afform/AfformGetTest.php [new file with mode: 0644]
ext/afform/mock/tests/phpunit/api/v4/AfformCustomFieldUsageTest.php
ext/afform/mock/tests/phpunit/api/v4/AfformTest.php
ext/oauth-client/Civi/Api4/OAuthProvider.php
tests/phpunit/api/v4/Action/BasicActionsTest.php
tests/phpunit/api/v4/Action/CurrentFilterTest.php
tests/phpunit/api/v4/Mock/Api4/MockBasicEntity.php