langgenius/dify

dep inject model validate

オープン

#36,659 opened on 2026/05/26

 (10 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (22,210 件のフォーク)batch import
good first issue

Repository metrics

Stars
 (141,412 個のスター)
PR merge metrics
 (平均マージ 1d 21h) (30d で 579 merged PRs)

説明

@dosu since we can dep inject the current user id, why dont we also inject the validated parameter?

like

...
@with_user
@validate(Query)
def post(self, args: Query, user: Account):
    ...

コントリビューターガイド