slimphp / slimphp/Slim

Unify CallableResolver and AdvancedCallableResolver

Open
#3,073 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Slim 5
Dominant language
PHP
Stars
12.3k
Forks
2k
Avg merge
3d 2h
Merged PRs (30d)
6

Description

Since AdvancedCallableResolver was introduced midway through the release of Slim 4, we will need to unify the two interfaces in Slim 5 and break everything moving forward.

We will also need to ensure that the CallableResolverInterface::resolve() method throws a named exception instead of RuntimeException so downstream implementers can effectively control the execution flow.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating AdvancedCallableResolver, CallableResolverInterface, and the implementations of CallableResolverInterface::resolve(). Review how the two interfaces differ and how RuntimeException is currently handled. Done means the resolver interfaces are unified for Slim 5 and resolve() uses a named exception with downstream behavior covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.