langgenius / langgenius/dify

dep inject model validate

Open
#36,659 31 comments 1 reaction 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
156k
Forks
24.6k
Avg merge
22h 9m
Merged PRs (30d)
610

Description

@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):
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.