Api improvements and test fix
authorColeman Watts <coleman@civicrm.org>
Tue, 26 Nov 2019 18:33:53 +0000 (13:33 -0500)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:20 +0000 (19:13 -0700)
commit50868e8df1dd501961d7298f59f8b83c08e2a068
treea8a9391f9a2bfeaa76dc6c7de540b9d7c12a0ce8
parentfaece79db039f038d5beb181e0d4178e67a49372
Api improvements and test fix

Improve efficiency by not fetching layout if not needed in api.get
Fix test failure by correctly merging existing metadata during update
ext/afform/core/Civi/Api4/Action/Afform/Get.php
ext/afform/core/Civi/Api4/Utils/AfformSaveTrait.php
ext/afform/core/afform.php