antirez / antirez/RESP3

Maps: are keys reliably unique?

Đang mở
#36 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
230
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.