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

Make Transcoder and Converter pluggable

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Critical
    • 2.1.0
    • 2.0.2
    • library
    • None

    Description

      While the current structure of the SDK supports the ability to provide custom implementations of the transcoder, there is no place to inject a custom transcoder. This ticket is to make the Transcoder pluggable:

      -The ClientConfiguration should provide a factory method/property for assigning and creating transcoders. Something like: Func<ITranscoder> TranscoderFactory

      {get;set;}

      . for example, look at ClientConfiguration.Timer.

      • The current transcoder (DefaultTranscoder) should be the default; to override you assign a new Func to the TranscoderFactory

      -The SDK should create the transcoder from the Func, not via "new" - like it currently does.

      -From a consumer perspective, there should be no impact - 100% backwards compatible without having to modify existing application code.

      Attachments

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

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            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