codify-plugin-lib 1.0.146 → 1.0.147
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.
|
@@ -172,6 +172,10 @@ export class ResourceController {
|
|
|
172
172
|
|| currentParametersArray === undefined
|
|
173
173
|
|| this.settings.allowMultiple // Stateful parameters are not supported currently if allowMultiple is true
|
|
174
174
|
|| currentParametersArray.filter(Boolean).length === 0) {
|
|
175
|
+
for (const result of currentParametersArray ?? []) {
|
|
176
|
+
await this.applyTransformParameters(result, true);
|
|
177
|
+
this.removeDefaultValues(result, parameters);
|
|
178
|
+
}
|
|
175
179
|
return currentParametersArray
|
|
176
180
|
?.map((r) => ({ core, parameters: r }))
|
|
177
181
|
?? null;
|
package/package.json
CHANGED
|
@@ -252,6 +252,11 @@ export class ResourceController<T extends StringIndexedObject> {
|
|
|
252
252
|
|| this.settings.allowMultiple // Stateful parameters are not supported currently if allowMultiple is true
|
|
253
253
|
|| currentParametersArray.filter(Boolean).length === 0
|
|
254
254
|
) {
|
|
255
|
+
for (const result of currentParametersArray ?? []) {
|
|
256
|
+
await this.applyTransformParameters(result, true);
|
|
257
|
+
this.removeDefaultValues(result, parameters)
|
|
258
|
+
}
|
|
259
|
+
|
|
255
260
|
return currentParametersArray
|
|
256
261
|
?.map((r) => ({ core, parameters: r }))
|
|
257
262
|
?? null;
|