Skip to content

Commit 409e88e

Browse files
tpoxaclaude
andcommitted
Remove Decoded schema from json_decode settings, use scenarios instead
Decoded document schema definition in settings is superseded by scenarios for compile-time edge validation of generic output types. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9505d1d commit 409e88e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

components/json/decode/decode.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ type Context any
2222
type Decoded any
2323

2424
type Settings struct {
25-
EnableErrorPort bool `json:"enableErrorPort" required:"true" title:"Enable Error Port" description:"If error happen, error port will emit an error message"`
26-
Decoded Decoded `json:"decoded" configurable:"true" title:"Decoded Document Example" description:"Define document schema. Optional."`
25+
EnableErrorPort bool `json:"enableErrorPort" required:"true" title:"Enable Error Port" description:"If error happen, error port will emit an error message"`
2726
}
2827

2928
type Error struct {

0 commit comments

Comments
 (0)