ondc-code-generator 0.6.1 → 0.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,7 +3,7 @@ from ..types.storage_types import StorageConfig
|
|
|
3
3
|
import asyncio
|
|
4
4
|
|
|
5
5
|
async def save_data(unique_prefix: str, key: str, save_data: str, store: StorageInterface, config: StorageConfig):
|
|
6
|
-
final_key =
|
|
6
|
+
final_key = key
|
|
7
7
|
retry_times = config["retry_attempts"]
|
|
8
8
|
delay_ms = config["retry_delay_ms"]
|
|
9
9
|
attempts = 0
|
|
@@ -261,7 +261,7 @@ export class TypescriptGenerator extends CodeGenerator {
|
|
|
261
261
|
externalData._SELF = normalizedPayload;
|
|
262
262
|
if (completeConfig.stateFullValidations) {
|
|
263
263
|
externalData = {
|
|
264
|
-
...
|
|
264
|
+
...perform${functionName}Load(action, completeConfig.uniqueKey!, completeConfig.store!),
|
|
265
265
|
...externalData,
|
|
266
266
|
};
|
|
267
267
|
}
|