[CSHARP-751] Legacy Conventions Are Not Handled Properly. Created: 05/Jun/13 Updated: 14/May/14 Resolved: 05/Jun/13 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.8 |
| Fix Version/s: | 1.8.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Vladimir Perevalov | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Minor Change | ||||
| Description |
|
I was using driver version 1.8 and used conventions in a following way: var cp = new ConventionProfile(); This worked fine. Then I've updated driver to 1.8.1, and I found that strong typed version of IndexKeysBuilder do not work anymore. I looked through the driver sources and found how classmap works. Then I've updated conventions to use new classes and everything began to work. I see, that legacy version are marked as obsolete, but they should either still work or be totally removed. |
| Comments |
| Comment by Robert Stam [ 22/Jul/13 ] |
|
The commit comment for: https://github.com/mongodb/mongo-csharp-driver/commit/619e56445d973338cfac04ed665fb52547e9b6d4 references CSHARP-728. That ticket no longer exists.
|
| Comment by Craig Wilson [ 05/Jun/13 ] |
|
Hi Max, This was fixed in this commit: https://github.com/mongodb/mongo-csharp-driver/commit/619e56445d973338cfac04ed665fb52547e9b6d4. It is in master, but hasn't been released. The fix for this will be in 1.9. Craig |