Repeated key collision
Currently repeated Keys are generated serialising the single entities and concatenating with a separator ($
).
["repeated", "string", "field"]
becomes "$repeated$string$field"
However, something like
["a$different", "string"]
and ["a", "different", "string"]
would collide, both generating "$a$different$string"
.
Requirements are that the generated string is order dependent (["sorted", "string"] != ["string", "sorted"]
)
and it should be easily created client-side (either library users or gRPC users, so from different languages too), because Key
is used as parameter for retrieval.