Feature Request: Ability to select fields to return and population depth on queries.
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 18/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
调研方向
The issue names no files or entry points. Start by finding where collection entries are queried and returned through the REST API, and how the existing query parameters are parsed. Decide how field selection and population depth should be specified in the URL, which the issue leaves open, and confirm that with a maintainer first. Done means a /blogs-style request returns only the requested fields, with tests covering it.
由索引模型根据 Issue 内容生成。
描述
A collection entry may have many fields not used in certain circumstances - for example a /blogs route will need the article name, the slug, and the except, but it doesn't need the full body content. The ability to select this by URL flags, rather than writing a custom route that uses the same collection.
- 主要语言
- TypeScript
- 星标
- 1.8k
- 派生
- 219
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 67
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SonicJs-Org/sonicjs 的其他 Issue
-
bug(admin/users): server error returns bare alert HTML causing black-shape visual artifact可能已有人在做 @lane711 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
SonicJs-Org/sonicjs#1211 ·
维护者通常 1 天内回复
-
area: api bug priority: P2
难度 2/5 1-3 小时 新手友好度 76/100
SonicJs-Org/sonicjs#1200 ·
维护者通常 1 天内回复
-
ResendProvider cannot send on Workers: unbound `fetch` stored as an instance property throws "Illegal invocation"可能已有人在做 @lane711 于 23 天前认领。 未关闭area: email bug priority: P1
难度 2/5 1-3 小时 新手友好度 72/100
SonicJs-Org/sonicjs#1099 ·
维护者通常 1 天内回复
-
Email plugin settings are never read: loadDbEmailSettings queries a v2 `plugins` table that does not exist in v3可能已有人在做 @lane711 于 23 天前认领。 未关闭area: email bug priority: P1
难度 2/5 1-3 小时 新手友好度 74/100
SonicJs-Org/sonicjs#1098 ·
维护者通常 1 天内回复
-
area: documentation bug documentation priority: P2
难度 2/5 1-3 小时 新手友好度 72/100
SonicJs-Org/sonicjs#1012 ·
维护者通常 1 天内回复
查看 SonicJs-Org/sonicjs 的全部 Issue
相似的 Issue
-
awaiting-final-review request-icon
难度 1/5 1 小时以内 新手友好度 70/100
homebridge/plugins#1376 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
mindfold-ai/Trellis#672 ·
-
p1 state:active track
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
StellarCanary/ProtocolCanary-Action#698 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
pear-devs/pear-desktop#4839 ·
维护者通常 1 天内回复