Skip to content

Conversation

@mike-mike-mike-mike-mike
Copy link
Contributor

These helper methods essentially just delegate to the controller, but in a less reliable way than actually using delegate (maybe that didn't exist when this was written).

This PR updates that module to use delegate to simplify the module, and tests that rely upon stubbing the controller methods. This will help with the effort to include hiearchy be default since the keyword argument doesn't need to be forwarded manually with a default (causing an expectation error in tests).

@mike-mike-mike-mike-mike mike-mike-mike-mike-mike requested a review from a team as a code owner December 15, 2025 19:30
@kermitapp
Copy link

kermitapp bot commented Dec 15, 2025

@mike-mike-mike-mike-mike mike-mike-mike-mike-mike marked this pull request as draft December 15, 2025 19:31
Copy link
Contributor

@dannyeldridge dannyeldridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@mike-mike-mike-mike-mike mike-mike-mike-mike-mike changed the title [APT-2621] Delegate helper methods to controller [APT-2651] Delegate helper methods to controller Dec 30, 2025
@kermitapp
Copy link

kermitapp bot commented Dec 30, 2025

Rather than defining them separately. Since the helper
methods don't do anything different than the controller methods (method signature is also unchanged), they
can just be forwarded. This will also help with the effort
to include hiearchy be default since the keyword
argument doesn't need to be passed manually (causing
an expectation error in tests).
@mike-mike-mike-mike-mike mike-mike-mike-mike-mike force-pushed the APT-2621-DelegateHelperMethods branch from 4112e5a to faef1cc Compare December 30, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants