[CSHARP-1232] Add an implicit conversion from FieldDefinition<TDocument, TField> to FieldDefinition<TDocument> Created: 06/Apr/15 Updated: 20/Jan/16 Resolved: 01/May/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 2.0 |
| Fix Version/s: | 2.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Craig Wilson | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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. |
| Comments |
| Comment by Githook User [ 01/May/15 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |