-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
Function extraction (Move towards generic custom data support for all entities) #12095
Conversation
eb69c38
to
99dc078
Compare
@mattwire to tease out a bit more of the bigger approach.... I have some thoughts -
5)if we are doing a lot of form-intensive testing we might want to take the chance to convert some datepicker fields on those same forms while we are at it. |
99dc078
to
2463475
Compare
2463475
to
6452294
Compare
This is a code improvement that will make it easier to add custom data to any form. |
@eileenmcnaughton Merge on pass |
Merging as per tag. |
Overview
Basic code clean up
(reviewer's commit from 28bbc8d)
Before
Code not re-usable
After
Code re-usable
Technical Details
@mattwire this is a review commit of your patch here
28bbc8d
In general I think your patch makes sense as an extraction & I thought it worth splitting this part off & getting it merged so we could build on it. I still have thoughts about whether this is the best place for the extracted function (back to our traits experiments) but I think a refactoring can have several steps & this is a step in the right direction.
Changes I made from yours
a) they didn't seem to match what was being passed in from the membership form and
b) it seemed that subName would be more often used
Comments
@mattwire if you confirm that you think this sub-commit is good to go I will merge as a reviewers's commit