t_arg handling with objects (#1115)

This commit is contained in:
oblomov 2024-05-03 00:32:48 +02:00 committed by GitHub
parent ae87b8741b
commit 7fb2e5687c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -376,7 +376,8 @@ CLASS Z2UI5_CL_CORE_HTTP_GET IMPLEMENTATION.
` }` && |\n| &&
` sap.z2ui5.oBody.ID = sap.z2ui5.oResponse.ID;` && |\n| &&
` sap.z2ui5.oBody.ARGUMENTS = args;` && |\n| &&
` sap.z2ui5.oResponseOld = sap.z2ui5.oResponse;` && |\n| &&
` for (let i = 1 ; i < sap.z2ui5.oBody.ARGUMENTS.length; i++ ) { if ( typeof sap.z2ui5.oBody.ARGUMENTS[ i ] === 'object' ){ sap.z2ui5.oBody.ARGUMENTS[ i ] = JSON.stringify( sap.z2ui5.oBody.ARGUMENTS[ i ] ) } } sap.z2ui5.oRe` &&
`sponseOld = sap.z2ui5.oResponse;` && |\n| &&
` sap.z2ui5.oController.Roundtrip();` && |\n| &&
` },` && |\n| &&
` responseError(response) {` && |\n| &&