Closed easazade closed 3 months ago
LGTM but please fix the conflicts generated by the recent commits so the merge can be done.
Regarding this PR 7 and also 8, and 9, are all good ideas, I was eager to merge it but there were conflicts... I'm a bit short of available time so I take advantage of this chance I had now and made some of these changes you proposed... Basically I made QuestionnaireController
more extendable by dividing the functions to build the items views and responses into individual functions so it can be override, and also added the same functions as params so it's not mandatory to extend QuestionnaireController
to be able to override the items functions.
Regarding this PR 7 and also 8, and 9, are all good ideas, I was eager to merge it but there were conflicts... I'm a bit short of available time so I take advantage of this chance I had now and made some of these changes you proposed... Basically I made
QuestionnaireController
more extendable by dividing the functions to build the items views and responses into individual functions so it can be override, and also added the same functions as params so it's not mandatory to extendQuestionnaireController
to be able to override the items functions.
Thanks for the response and looking into the PRs. Should I close PRs #7 , #8 & #9 if you have already applied similar changes?
Regarding this PR 7 and also 8, and 9, are all good ideas, I was eager to merge it but there were conflicts... I'm a bit short of available time so I take advantage of this chance I had now and made some of these changes you proposed... Basically I made
QuestionnaireController
more extendable by dividing the functions to build the items views and responses into individual functions so it can be override, and also added the same functions as params so it's not mandatory to extendQuestionnaireController
to be able to override the items functions.Thanks for the response and looking into the PRs. Should I close PRs #7 , #8 & #9 if you have already applied similar changes?
Yeah I think so,
This will add the possibility to modify a
QuestionnaireResponseItem
after it was generated withinQuestionnaireController
.This could be a useful addition. There could be use cases which it is required to modify a
QuestionnaireResponseItem
object after it has been created. eg: Adding additional extensions to it.