LiveSplit / LiveSplit/SpeedrunComSharp
client.Users.GetPersonalBests throws a serialization exception if you use any of the optional parameters
未关闭
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 32
- 派生
- 11
- PR 合并指标
- 30 天内没有已合并 PR
描述
i think it's constructing the URL incorrectly, getting a 404, and then failing to serialize that 404 json into an actual C# object
it looks like the code for UserClient.GetPersonalBests just concatenates the query parameters to the URL string without adding the necessary ? and &s, which doesn't generate a valid URL for the SRC API
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 issue 链接的 SpeedrunComSharp/Users/UsersClient.cs 中的 UserClient.GetPersonalBests 开始,检查可选参数是如何追加到请求 URL 的。验证带有可选参数的请求会生成有效的 SRC API URL,并且不再将 404 响应转换为序列化异常。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100