third-party JSON dependency included in header
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp
- 领域
- build-system
调研方向
检查 SDK 的公共头文件和实现文件,查找 nlohmann/json include 以及硬编码的依赖路径。将依赖的使用移到 .cpp 实现中,这样客户端就不必通过头文件引入或解析 nlohmann/json。
由索引模型根据 Issue 内容生成。
描述
The third party dependency nlohmann/json is included in the header, which means clients of this SDK will also be pulling it in. this can conflict with a different but existing version of that library, and also means if a client is using a different JSON library, it now depends on multiple JSON libs. the path specified for that JSON dependency is also hardcoded
it would be great to move this dependency to the .cpp so clients don't need to worry about it
- 主要语言
- C++
- 星标
- 34
- 派生
- 25
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Countly/countly-sdk-cpp 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
Countly/countly-sdk-cpp#103 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
Countly/countly-sdk-cpp#100 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Countly/countly-sdk-cpp#36 · 4 条评论 ·
-
难度 5/5 一周以上 新手友好度 30/100
Countly/countly-sdk-cpp#35 · 3 条评论 ·
-
No namespace未关闭
难度 2/5 1-3 小时 新手友好度 35/100
Countly/countly-sdk-cpp#33 · 1 个 reaction ·
查看 Countly/countly-sdk-cpp 的全部 Issue
相似的 Issue
-
Mac mini M6 (16 GB): Q2_0 streaming works - measured 11.7->27.2 tok/s + arena fix for sub-32 GB Macs未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
champion good first issue remake source/qq
难度 2/5 1-3 小时 新手友好度 65/100
metasequoiaime/msime-windows#1025 ·
维护者通常 1 天内回复
-
backlog bug
难度 2/5 1-3 小时 新手友好度 75/100
EchoTools/nevr-runtime#653 ·
维护者通常 1 天内回复
-
`--fail-require-skip` never fires: run_tests.py searches stdout, but the unittest binary writes the skip summary to stderr可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
InfiniTimeOrg/InfiniTime#2492 ·