-
-
Notifications
You must be signed in to change notification settings - Fork 817
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
Add workflow template classes for contributions #22340
Add workflow template classes for contributions #22340
Conversation
(Standard links)
|
c0d60ce
to
a615297
Compare
/** | ||
* @method array getContribution() | ||
* @method array getContact() | ||
* @method $this setContact(array $contact) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree this PR looks safe / consistent / starting-place for other revisions. 👍
I was about to hit "Merge" but then wondered about this fragment - contact
is a property of GenericWorkflowMessage
not ContributionTrait
.
There is another property in this trait, contributionId
-- should it reference that instead?
* @method ?int getContributionId()
* @method $this setContributionId(?int $contributionId)
a615297
to
baf1d7a
Compare
@totten you are right - I just updated to use contribution ID & updated one variable in one template to rely on that (plus test) to verify it |
baf1d7a
to
66c8a61
Compare
opps thanks @totten |
Test fail is unrelated (date calc on the cusp of the new year - already started badly!) |
Overview
Add workflow template classes for contributions
Before
A big void
After
Tada
Technical Details
These aren't doing much of anyting yet - but they set up the structure - which will allow us to start to add in values to the trait (& remove some of those issets which mess with escaping)
Comments