Skip to content

Commit

Permalink
Added doc comments for shared stage schema functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell committed Sep 27, 2024
1 parent 1cdf151 commit 4f8202e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/step/foreach/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,6 @@ func (r *runningStep) runOnInput() {
}

func (r *runningStep) processInput(inputData []any) {
// TODO: Transition to reusable functions
r.logger.Debugf("Executing subworkflow for step %s...", r.runID)
outputs, errors := r.executeSubWorkflows(inputData)

Expand Down
4 changes: 4 additions & 0 deletions internal/step/shared_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package step

import "go.flow.arcalot.io/pluginsdk/schema"

// EnabledOutputSchema returns the schema for the enabled stage that is
// implemented in several step types.
func EnabledOutputSchema() *schema.StepOutputSchema {
return schema.NewStepOutputSchema(
schema.NewScopeSchema(
Expand Down Expand Up @@ -29,6 +31,8 @@ func EnabledOutputSchema() *schema.StepOutputSchema {
)
}

// DisabledOutputSchema returns the schema for the disabled stage that is
// implemented in several step types.
func DisabledOutputSchema() *schema.StepOutputSchema {
return schema.NewStepOutputSchema(
schema.NewScopeSchema(
Expand Down

0 comments on commit 4f8202e

Please sign in to comment.