You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`canonicalParamId` must NOT match any other subblock's `id`, must be unique per block, and should only be used to link basic/advanced alternatives for the same parameter.
211
-
-`mode` only controls UI visibility, NOT serialization. Without `canonicalParamId`, both basic and advanced field values would be sent.
212
-
- Every subblock `id` must be unique within the block. Duplicate IDs cause conflicts even with different conditions.
209
+
**Critical Canonical Param Rules:**
210
+
-`canonicalParamId` must NOT match any subblock's `id` in the block
211
+
-`canonicalParamId` must be unique per operation/condition context
212
+
- Only use `canonicalParamId` to link basic/advanced alternatives for the same logical parameter
213
+
-`mode` only controls UI visibility, NOT serialization. Without `canonicalParamId`, both basic and advanced field values would be sent
214
+
- Every subblock `id` must be unique within the block. Duplicate IDs cause conflicts even with different conditions
215
+
-**Required consistency:** If one subblock in a canonical group has `required: true`, ALL subblocks in that group must have `required: true` (prevents bypassing validation by switching modes)
216
+
-**Inputs section:** Must list canonical param IDs (e.g., `fileId`), NOT raw subblock IDs (e.g., `fileSelector`, `manualFileId`)
217
+
-**Params function:** Must use canonical param IDs, NOT raw subblock IDs (raw IDs are deleted after canonical transformation)
0 commit comments