Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1232

Add an implicit conversion from FieldDefinition<TDocument, TField> to FieldDefinition<TDocument>

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1
    • 2.0
    • None
    • None

    Description

      Currently, anyone who wants to staticly store a field definition needs to store 2 copies because differnet versions are used in different places. Having an implicit conversion from one to the other will allow for only one to need to be stored.

      Also, look into doing this for the other XXXDefinition classes.

      Attachments

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: