[JAVA-2942] Quick start POJOs v3.8 doc needs to be updated with new API. Created: 23/Aug/18 Updated: 24/May/22 Resolved: 24/May/22 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Documentation |
| Affects Version/s: | 3.7.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Maxime Beugnet | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
http://mongodb.github.io/mongo-java-driver/3.8/driver/getting-started/quick-start-pojo/
MongoClient should be MongoClientSettings as MongoClient.getDefaultCodecRegistry() doesn't exist anymore. The page may contain other piece of the old API. |
| Comments |
| Comment by Jeffrey Yemin [ 24/May/22 ] |
|
We no longer maintain the gh-pages reference documentation. If this is still an issue in the new reference documentation, please open a DOCSP issue to address it. |
| Comment by Jeffrey Yemin [ 23/Aug/18 ] |
|
It's not so much that it doesn't exist, but that there is a new MongoClient interface in com.mongodb.client that doesn't have it. It's now in com.mongodb.MongoClientSettings. So the doc has to say that you can get it from one place or the other, depending on which MongoClient you're relying on. We should check for other places in the docs that have this same issue. |