Feature: support for user defined interceptors
还没有人认领这个 Issue。
评估
调研方向
首先检查 issue 中链接的 PR #266 所提出的实现。检查 client 如何针对 interceptor 类型实现泛型化,以及如何支持自定义请求头;当用户定义的 interceptor 可以修改请求,同时仍支持现有的 TokenInterceptor 行为时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Currently, Qdrant client only supports authentication via API key through the built-in TokenInterceptor. However, there are many scenarios where users need to add custom headers to requests like 'authorization' header for JWT
I've implemented a solution that makes the client generic over the interceptor type, allowing users to provide their own interceptors that can modify requests arbitrarily: https://github.com/qdrant/rust-client/pull/266
@timvisee
- 主要语言
- Rust
- 星标
- 425
- 派生
- 89
- 平均合并
- 2 小时 48 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
qdrant/rust-client 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 55/100
qdrant/rust-client#320 ·
-
upsert_points deep-clones the whole request on every call, not only on retry可能重新可做 @NullSense 于 7 天前认领,目前没有进行中的 PR。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
qdrant/rust-client#316 · 3 条评论 ·
-
Option to set TLS domain name and :authority origin (client behind a tunnel/proxy)可能重新可做 @inamdarmihir 于 37 天前认领,目前没有进行中的 PR。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
qdrant/rust-client#306 · 1 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 38/100
qdrant/rust-client#289 ·
-
难度 3/5 1-2 天 新手友好度 30/100
qdrant/rust-client#272 · 2 个 reaction ·
查看 qdrant/rust-client 的全部 Issue
相似的 Issue
-
bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 78/100
getsotto/sotto-authenticator#139 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
registrystack/registry-stack#2924 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
foundry-rs/starknet-foundry#4733 ·
维护者通常 4 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100