Add byte array to Values message
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
审查 Values 消息定义以及 issue 中描述的 decoder 行为,然后阅读现有的评论讨论,再决定 bytes 值是否应属于规范。完成的标准是对第八种值类型以及 decoder 应如何处理它作出并记录决定。
由索引模型根据 Issue 内容生成。
描述
We currently do not have a way to properly encode byte arrays as the value of an attribute. Ideally, this would not be an allowed type but I can see in some rare cases where this might be useful. I would like to propose adding bytes as the 8th value message and specifically state that it may be ignored in the decoder.
I know that from an data format standpoint that protobuffers do not have any difference between bytes and strings, however, I have come to realize that in some situations such as the python protobuf libraries it attempts to enforce a text encoding type on the values as they are set via the protobuf library. Additionally, it would be ideal for a client to know if there is a non standard string format that it could be ignored for situations where a bytes field is being used.
Thoughts?
/cc @ericfischer @joto
- 主要语言
- 没有语言数据
- 星标
- 1k
- 派生
- 213
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mapbox/vector-tile-spec 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
mapbox/vector-tile-spec#157 ·
-
难度 5/5 一周以上 新手友好度 20/100
mapbox/vector-tile-spec#153 ·
-
难度 5/5 一周以上 新手友好度 25/100
mapbox/vector-tile-spec#149 ·
-
Typo in §4.4未关闭
难度 1/5 1 小时以内 新手友好度 55/100
mapbox/vector-tile-spec#148 ·
-
难度 5/5 一周以上 新手友好度 20/100
mapbox/vector-tile-spec#145 · 2 条评论 · 1 个 reaction ·
查看 mapbox/vector-tile-spec 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
维护者通常 4 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 67/100
pandas-dev/pandas-stubs#2047 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
manfredsteyer/angular-oauth2-oidc#1514 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
Content cache ignores the query string, so one path serves the response cached for another query未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复