- Issue created by @luke.stewart
- πΊπΈUnited States markusa
We've been thinking about it actually. The big thing that is missing is API3 had a "validate" action, of which I don't see any equivalent in API4.
We do think this does need to be done, and plan on chipping away at it over time.
Other than "validate" .. I don't think its a huge lift to just replace civicrm_api3() with civicrm_api4() calls, and then from there go through each entity type in detail looking for differences.
The guts are here: https://github.com/eileenmcnaughton/civicrm_entity/blob/4.0.x/src/CiviEn...
And most API calls use the CivicrmApi service.
https://github.com/eileenmcnaughton/civicrm_entity/blob/4.0.x/src/CiviCr...So swapping out civicrm_api3() with civicrm_api4() calls is "easy" to do, to see what works, and what doesn't