Introduce CallableResolver to help standardise the DX and error handling for callbacks across various subsystems

Created on 2 July 2018, over 6 years ago
Updated 22 June 2023, over 1 year ago

Problem/Motivation

See parent meta for motivations on introducing this component.

At the moment, in order to resolve callables with various DX features (such as service notation), this is either being implemented manually or using the controller_resolver service. The problem is this is a strange coupling, we shouldn't need a service that is primarily designed to deal with Request objects to resolve callbacks for completely unrelated subsystems.

Proposed resolution

A new service called "callback_resolver" that standardises the approach for resolving callbacks, decoupled from controllers.
Down the track: use the callback_resolver ControllerResolver in places where a callable is required from a "definition".

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡¦πŸ‡ΊAustralia Sam152

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024