Make read and write versions for KeyString

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      KeyStrings used for read(query) and write(index insertion) are quite different in its internal format: read KeyStrings always have discriminator at the end while write KeyStrings most of the time have RecordId in it. There is no easy way to quickly tell whether a KeyString is used for read or write. And people could misuse the encode/decode methods.

      We should define better contracts or have different versions for KeyStrings.

              Assignee:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              Xiangyu Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: