yiisoft / yiisoft/error-handler

Support multiple solutions

Open
#108 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
22
Forks
18
Avg merge
1h
Merged PRs (30d)
1

Description

  • Render multiple solutions in UI
  • Add Solution Provider Registry like this:
    interface SolutionProviderRegisrty {
       /**
        * @param callable(\Throwable): SolutionInterface|\Stringable|string $provider
        */
       public function register($provider): void;
    }
    // todo
    interface SolutionInterface {}
    
  • https://github.com/yiisoft/error-handler/issues/104 might be implemented like a SolutionProvider

In this case the user can implement its own AI based solution provider, support custom attributes or interfaces

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 reviewing the requested UI behavior and issue #104, then assess the proposed Solution Provider Registry and its SolutionInterface. Define how multiple solutions are rendered and how providers can support custom attributes, interfaces, or AI-based responses; done means the feature and registry design are implemented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.