Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1144

override toString() on IDocumentResult and IOperationResult

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • backlog-2.0
    • 2.3.0
    • library
    • None

    Description

      I noticed that the toString() on these objects is the default, which isn't very useful. Is it not common to override these? For instance, if you console log from the Java Document interface on a result, you'd get something like this:
      JsonDocument{id='document_id', cas=216109395083264, expiry=0, content=

      {"more":"content"}

      , mutationToken=null}

      Attachments

        For Gerrit Dashboard: NCBC-1144
        # Subject Branch Project Status CR V

        Activity

          People

            jmorris Jeff Morris
            ingenthr Matt Ingenthron
            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