[COMPASS-3030] Throw unimplemented error for DBRef in C# Created: 31/Jul/18 Updated: 28/Jun/23 Resolved: 02/Sep/22 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Export to Language |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Anna Herlihy (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 1 |
| Documentation Changes: | Not Needed |
| Description |
|
https://mongodb.github.io/mongo-csharp-driver/2.5/apidocs/html/T_MongoDB_Driver_MongoDBRef.htm
Apparently it's not possible to create a DBRef in C# without making a "connection" instance, which is out of scope for the export feature. |
| Comments |
| Comment by Maurizio Casimirri [ 07/Aug/22 ] |
|
We are still generating the same C# code here in 1.32.6. I'm not sure that this change is still necessary though, craig.wilson@mongodb.com would you be able to confirm that what you suggested in the last comment is still true? Thanks! |