Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-10936

Nodejs: capella-typescript connection string in code sample is incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • None

    Description

       

      cloud.ts fails to compile:

      hello-world/examples/cloud.ts:28:5 - error TS2345: Argument of type '{ username: string; password: string; configProfile: string; }' is not assignable to parameter of type 'ConnectOptions'. 

      From the API reference, this string appears to have been replaced with a new ConnectOptions interface.

       

      Attachments

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

        Activity

          People

            tom.rosewell Tom Rosewell (Inactive)
            tom.rosewell Tom Rosewell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty