cancel
Showing results for 
Search instead for 
Did you mean: 

LegacyDataService Swift.Result style completion handlers

AlexGiguere
Contributor
0 Kudos

There is already a similar blog for this one but this one is about Offline and LegacyDataService

When SAP will finally support Swift.Result style completion handlers for SAPOfflineOData or even better async /await ?

Swift.Result style completion handlers have been introduced in 2019

and why SAP still generate code with an API called LegacyDataService?

When generating the proxy classes with the CLI, a CLI warning says

Please specify one of the following service options: -any, -legacy, -offline, -online.

the problem is that offline is not for SAPODataOffline, this generated a lot of confusion

the online argument generated the proxy classes correctly with Swift.Result type, that's ok

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Alexandre,

thank you very much for the feedback.

Async / await , Swift.result and Swift.identifiable are some of the features which are part of the roadmap for the SDK and will also be part of the app being generated with the SAP BTP SDK Assistant.

best regards

Matthias de la Roche

AlexGiguere
Contributor
0 Kudos

Hi Matthias, thanks, version 9 has just been released, any idea if it includes this?

alex