Skip to content

Commit

Permalink
(RJS bindgen) Add support for compensating writes (#5599)
Browse files Browse the repository at this point in the history
Co-authored-by: Kræn Hansen <kraen.hansen@mongodb.com>
Co-authored-by: Kenneth Geisshirt <kenneth.geisshirt@mongodb.com>
Co-authored-by: LJ <81748770+elle-j@users.noreply.github.com>
  • Loading branch information
4 people authored Mar 23, 2023
1 parent 9bc1e7c commit 28da15e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,7 @@ records:
# server_requests_action:
# type: sync::ProtocolErrorInfo::Action
# default: sync::ProtocolErrorInfo::Action::NoAction
# compensating_writes_info: std::vector<sync::CompensatingWriteErrorInfo>

compensating_writes_info: std::vector<CompensatingWriteErrorInfo>

Request:
cppName: app::Request
Expand Down Expand Up @@ -591,6 +590,13 @@ records:
default_request_timeout_ms: util::Optional<uint64_t>
device_info: DeviceInfo

CompensatingWriteErrorInfo:
cppName: sync::CompensatingWriteErrorInfo
fields:
object_name: std::string
reason: std::string
primary_key: Mixed

opaqueTypes:
- Schema
- Group
Expand Down

0 comments on commit 28da15e

Please sign in to comment.