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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1
    • Affects Version/s: 2.0
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: