Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIv4 - Add BasicEntity helper class #17899

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

colemanw
Copy link
Member

Overview

Added a new BasicEntity base class to make it much easier to create basic (non DAO) APIv4 entities.
Now all you need to create an entity is to define getFields and 3 callbacks for the CRD operations.

Comments

Added a bunch of code comments and test coverage; that's why this diff is so big.

@civibot
Copy link

civibot bot commented Jul 20, 2020

(Standard links)

@civibot civibot bot added the master label Jul 20, 2020
@eileenmcnaughton
Copy link
Contributor

Test cover gives me confidence this hasn't broken anything. Good to see code comments being addressed

@eileenmcnaughton eileenmcnaughton merged commit c95d3c6 into civicrm:master Jul 20, 2020
@eileenmcnaughton eileenmcnaughton deleted the basicEntity branch July 20, 2020 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants