Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-61634

Use `v8Str` to Simplify Code Segments that create `v8::Local<v8::String>`

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • eventing
    • 0

    Description

      Instead of writing v8::String::NewFromUtf8(isolate_, "<property name>").ToLocalChecked() each time, we can instead make use of our helpful utility function v8Str(isolate_, "<property name>")

      This utility function is easier to read and fits perfectly for such use cases.

      Note:

      Attachments

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

        Activity

          People

            ankit.prabhu Ankit Prabhu
            rishit.chaudhary Rishit Chaudhary
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty