We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e617cf commit 18d5365Copy full SHA for 18d5365
apps/dashboard/src/utils/parseStepVariables.ts
@@ -35,8 +35,9 @@ export function parseStepVariables(schema: JSONSchemaDefinition): ParsedVariable
35
if (typeof obj === 'boolean') return;
36
37
if (obj.type === 'object') {
38
- // Handle object with additionalProperties
39
- if (obj.additionalProperties === true) {
+ // Exclude naked payload from suggested variables to try the new UX of appending payload to all unknown step variables.
+ // TODO: Move the exclusion to the API side after the two deployments to avoid breaking the contract between the Dashboard and the API.
40
+ if (obj.additionalProperties === true && !path.includes('payload')) {
41
result.namespaces.push({
42
type: 'variable',
43
label: path,
0 commit comments