Refactor Banzai context accessors

What does this MR do and why?

Extracted out of the ashes of Defer Banzai context member resolution until ac... (!231031 - closed) and Draft: Clean up PlaceholdersPostFilter (!243610 - closed).

Reduces a bunch of repetition, some unnecessary variable passing, and makes call-sites easier on the eyes.

How to set up and validate locally

Try posting a new note or creating a new work item. If it works, it means the MR didn't break anything!

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Asherah Connor

Merge request reports

Loading