Skip to content

Update feedback admin template to use FeedbackEntityInterface.#3731

Merged
demiankatz merged 1 commit intovufind-org:devfrom
demiankatz:feedback-admin-template
Jun 7, 2024
Merged

Update feedback admin template to use FeedbackEntityInterface.#3731
demiankatz merged 1 commit intovufind-org:devfrom
demiankatz:feedback-admin-template

Conversation

@demiankatz
Copy link
Member

This PR puts some finishing touches on the feedback admin module, updating the template to use the FeedbackEntityInterface where appropriate. This was a little trickier than anticipated because of the way Laminas\Db returns results. Some data remapping was necessary to convert what Laminas\Db provides into the future format we'll get from Doctrine (which offers proper entity support and better separation of fields). The solution here feels like a bit of a hack, but it works, it's temporary, and it only impacts a rarely-used admin feature. Seems worth patching in to further minimize template diffs vs. #2233.

@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Jun 1, 2024
@demiankatz demiankatz added this to the 10.0 milestone Jun 1, 2024
@demiankatz demiankatz requested review from EreMaijala and aleksip June 1, 2024 19:00
@demiankatz demiankatz merged commit cd873d1 into vufind-org:dev Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture pull requests that involve significant refactoring / architectural changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants