[ 
https://issues.apache.org/jira/browse/FINERACT-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216035#comment-17216035
 ] 

Michael Vorburger commented on FINERACT-1214:
---------------------------------------------

OK, if it's super easy to _create multiple "SDKs" and then we can let people 
choose what they want/need. And for us it's not really more work_, then do you 
want to "take" this issue, and... turn the current {{fineract-client}} into a 
{{fineract-clients/}} with e.g. {{fineract-clients/java8-rx}} VS 
{{fineract-clients/java11-sync}}?

[~Grandolf49] could you remind us which client configOptions exactly you are 
actually interested in? Was your primary motivation Android? Do you WANT to 
{{useRxJava2}}? Do you HAVE to stick to Java older than 11? (Or is that not 
even an option/the real question here? I haven't looked much at Swagger Code 
Gen.) Because if you don't, then perhaps an easier next step here would be to 
simple change the configuration of our, for now, one and only 
{{fineract-client}}?

> SDK Swagger Client Java API methods returning Rx Observable are not intuitive 
> for Java developers
> -------------------------------------------------------------------------------------------------
>
>                 Key: FINERACT-1214
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1214
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Michael Vorburger
>            Priority: Major
>
> I am, for the first time, attempting to fool around with our shiny new SDK 
> Client Java API, for FINERACT-1209.
> I've noticed that we have configured all the service methods to returned Rx 
> Observable. I'm aware of what that is, and perhaps I'm just too old and 
> grumpy, but I'm not sure I like that... and am concerned that average Joe 
> Java develpers using this SDK may get confused by it.
> Isn't the reality that in many many typical usages folks would just always do 
> {{.blockingSingle()}} anyway? And even if we went all-in reactive in our 
> SDK... A REST API call doesn't really return a _Stream_ - so the API as-is 
> doesn't seem natural, to me.
> Should we go mad and build and publish SEVERAL Fineract SDK Swagger Client 
> Java API libraries? io.reactivex for anyone smoking that, good ol' plain 
> simple non-reactive, modern Java 11, older Java 6, 7 AND 8 (Android?)... the 
> more the merrier?!
> [~aleks] [~ChinmayKulkarni] [~ptuomola] [~manthan]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to