Skip to content
  • Chris Elder's avatar
    [FAB-8877] Validate Reserved Fields Name in CouchDB · db1a30e1
    Chris Elder authored
    
    
    Ledger removed the "data" wrapper when using CouchDB as the
    state database.  This change means that documents in the state
    database must meet CouchDB's restrictions for top level field
    names.
    
    The validation for simulation and commit needs to be updated
    for the following invalid field names:
    
    - Any field beginning with an underscore, "_"
    - ~version
    - ~metadata
    
    Change-Id: I9203691553de8c15888ce93ade99337bad5222a9
    Signed-off-by: default avatarChris Elder <chris.elder@us.ibm.com>
    db1a30e1