langgenius / langgenius/dify

use effect.ts-like method for some effect handler

Open
#41,093 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
156k
Forks
24.6k
Avg merge
22h 9m
Merged PRs (30d)
610

Description

@dosu now there are so many scatter try / exception / ... in api

I wonder if using an effect.ts-like style can help improve it.

ref https://github.com/effect-ts/effect

Contributor guide

Open the contributing guide

Research direction

Start by surveying the API's scattered try/exception handling; no files, tests, or specific entry points are named in the issue. Read the effect-ts reference to understand the proposed style, then clarify which handlers are in scope and what consistent error-handling behavior would define done.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.