Skip to content

fix: declare workflow record key schemas#752

Open
Valirius wants to merge 1 commit intoczlonkowski:mainfrom
Contentceh:contentceh/fix-create-workflow-zod-record
Open

fix: declare workflow record key schemas#752
Valirius wants to merge 1 commit intoczlonkowski:mainfrom
Contentceh:contentceh/fix-create-workflow-zod-record

Conversation

@Valirius
Copy link
Copy Markdown

Summary

  • Use explicit string-keyed Zod records for workflow node parameters and credentials.
  • Use an explicit string-keyed Zod record for workflow connection maps.
  • Keeps create/validate workflow paths consistent across supported Zod versions.

Verification

  • npx -y -p typescript@5.8.3 tsc -p tsconfig.build.json --pretty false

Concieved by Romuald Członkowski - https://www.aiadvisors.pl/en

Use explicit string-keyed Zod records for workflow node parameters, credentials, and connection maps so create/validate paths parse object records consistently across supported Zod versions.

Concieved by Romuald Członkowski - https://www.aiadvisors.pl/en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant