[JAVA-4790] Remove reactive streams ClientSession#getWrapped method Created: 24/Oct/22  Updated: 28/Oct/23  Resolved: 24/Oct/22

Status: Closed
Project: Java Driver
Component/s: API, Reactive Streams
Affects Version/s: None
Fix Version/s: 4.8.0

Type: Improvement Priority: Unknown
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Minor Change
Documentation Changes: Not Needed

 Description   

This method's API doc says "For internal use only" and it returns an AsyncClientSession, which, while public, is in an internal package in driver-core.

Removing this method would allow us to remove the AsyncClientSession type entirely, simplifying the code base



 Comments   
Comment by Githook User [ 24/Oct/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Remove reactive streams ClientSession#getWrapped method

  • Also remove the com.mongodb.internal.async.client.AsyncClientSession
    internal type

JAVA-4790
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/5e4e96ae3301c49b08329390e4358f8a08150adf

Generated at Thu Feb 08 09:02:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.