Quick start POJOs v3.8 doc needs to be updated with new API.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.7.0
    • Component/s: Documentation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      http://mongodb.github.io/mongo-java-driver/3.8/driver/getting-started/quick-start-pojo/

       

      CodecRegistry pojoCodecRegistry = fromRegistries(MongoClient.getDefaultCodecRegistry(), fromProviders(PojoCodecProvider.builder().automatic(true).build()));
      

      MongoClient should be MongoClientSettings as MongoClient.getDefaultCodecRegistry() doesn't exist anymore.

      The page may contain other piece of the old API.

            Assignee:
            Unassigned
            Reporter:
            Maxime Beugnet (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: