Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1575

Replace HistoryRetentionCollectionDefault *bool with a constant

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.8.0
    • None
    • None
    • None
    • 1
    • SDK02: V.Search, maxTTL=-1, SDK04: Scope Search

    Description

      Using pointers to primitives to signal that something is an optional field is quite ugly. We should create a constant with 3 levels that use a uint8; HistoryRetentionCollectionDefaultUnset, HistoryRetentionCollectionDefaultEnabled, HistoryRetentionCollectionDefaultDisabled.

      Or something like that. There is prior art for doing this in the SDK already.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            charles.dixon Charles Dixon
            charles.dixon Charles Dixon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty