Review which data fields we're actually using
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- graphql, rust
调研方向
首先检查 issue 中提到的模型结构体—RunMetadata、Attributes 和 Links—并追踪它们在查询处理和 mock server 测试中的使用情况。完成的标准是确定哪些字段未被使用或不可靠,决定哪些字段应保留或更改,并更新受影响的测试和 mock 响应。
由索引模型根据 Issue 内容生成。
描述
The model structs we currently have closely follow the data sent by tiled but much of it is not used or not reliable.
- Search responses have a "meta" field with optional and arbitrary data
- RunMetadata has a "start: Start" field mapping to the start document but this is never used in glazed (and can't be relied on to be anything more than an arbitrary json value).
- Attributes has "access_blob", "specs",
- Links contains a combination of all the link fields used by any of the types in tiled and might be better served by a hashmap
- etc
It might be useful to remove the fields we're not using and replacing them if and when they're being used in glazed.
It would make testing a lot easier when we don't have to return a vast amount of unrelated data from mock servers to test query handling.
- 主要语言
- Rust
- 星标
- 0
- 派生
- 2
- 平均合并
- 3 天 3 小时
- 30 天内合并 PR
- 20
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DiamondLightSource/glazed 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
DiamondLightSource/glazed#137 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 35/100
DiamondLightSource/glazed#136 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 10/100
DiamondLightSource/glazed#118 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 45/100
DiamondLightSource/glazed#107 ·
维护者通常 2 天内回复
-
难度 3/5 1-2 天 新手友好度 25/100
DiamondLightSource/glazed#95 ·
维护者通常 2 天内回复
查看 DiamondLightSource/glazed 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug CLI
难度 2/5 1-3 小时 新手友好度 77/100
HigherOrderCO/Bend#2120 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
KNXBench-Labs/KNXBench#47 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
software-mansion/pathfinder#3620 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复