[CDRIVER-1193] Expose mongoc_server_description_type_t enum Created: 06/Apr/16 Updated: 10/Aug/16 Resolved: 20/Apr/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.0 |
| Type: | Task | Priority: | Critical - P2 |
| Reporter: | Derick Rethans | Assignee: | Jeremy Mikola |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | api | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
PHPC and HHVM currently depend on mongoc_server_description_type_t in their public APIs (this was an early design decision). In the interest of continuing to support this API in libmongoc 1.4.0, we propose the following:
|
| Comments |
| Comment by Jeremy Mikola [ 20/Apr/16 ] |
|
Since new values cannot be appended to a publicized enum without breaking ABI, we opted to handle the mapping between libmongoc strings and integers manually in |
| Comment by Jeremy Mikola [ 12/Apr/16 ] |