antirez / antirez/RESP3

Maps: are keys reliably unique?

オープン
#36 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
230
フォーク
41
PR マージ指標
30日以内にマージされた PR はありません

説明

The specification indicates that they should be treated as a dictionary / hash structure, but it isn't clear what should happen if duplicate keys are encountered. The specific scenarios are shared with https://github.com/antirez/RESP3/issues/35

and could be re-stated:

How is the following to be interpreted?

``` txt
%2
+ttl
:3600
+ttl
:9001
:3
````

is this:

- illegal
- valid, last value wins (so: `ttl` = `9001`)
- valid, all values should be preserved (so: `ttl` = `[3600, 9001]` in some way)
- something else?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。