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

Apply nullable annotations to serializer/transcoder

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.2.5
    • None
    • library
    • None

    Description

      Any JSON serializer may return null if the value being decoded is null, even if the type deserialized is annotated as non-nullable using nullable reference types. We should annotate our return types correctly so consumers are warned that they should perform null reference checks if they have nullable reference types enabled. This also aligns us with System.Text.Json paradigms.

      Attachments

        Issue Links

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

          Activity

            People

              btburnett3 Brant Burnett
              btburnett3 Brant Burnett
              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