[ 
https://issues.apache.org/jira/browse/TINKERPOP-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stephen mallette updated TINKERPOP-1195:
----------------------------------------
    Fix Version/s:     (was: 3.2.1)

This is a pretty big breaking change perhaps best saved for 3.3.x

> Client and ResultSet API changes
> --------------------------------
>
>                 Key: TINKERPOP-1195
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1195
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: driver
>    Affects Versions: 3.1.1-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>              Labels: breaking
>
> Given discussion on a couple different threads:
> https://pony-poc.apache.org/thread.html/Z424dvlo67k5np4
> https://pony-poc.apache.org/thread.html/Z70ku3nckrkkgiy
> the idea to introduce a breaking change to the {{Client}} and {{Result}} API 
> seems to be established.  The basic changes involve:
> 1. Remove the return of {{CompletableFuture}} from a {{ResultSet}} thus 
> allowing it to block for the {{some()}} and {{all()}} methods.
> 2. Change {{Client.submit()}} to return {{List<Result>}} rather than return a 
> {{ResultSet}} - that method will basically block until all results are 
> returned and then unwrap the {{List<Result>}} and return that.
> Unfortunately, there doesn't appear to be a way to make it so that these 
> changes are non-breaking.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to