Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client interface updates #31

Merged
merged 2 commits into from
May 9, 2024
Merged

Client interface updates #31

merged 2 commits into from
May 9, 2024

Conversation

drohit-cb
Copy link
Contributor

Description Of Change

The ts client currently has an interface where for APIs like getWorkflow and performWorkflowStep it expects the user to pass a workflow id. This forces a user to parse out the workflow.name and get it from there. Instead what's easier is, the client interface takes the workflow name as input. One less thing the caller needs to worry about.

Testing Procedure

Ran ts-node examples/solana/create-and-process-workflow.ts with appropriate input, to verify if all works.

@drohit-cb drohit-cb force-pushed the client_interface_updates branch from 9ba38c4 to e6b114c Compare May 9, 2024 22:27
@drohit-cb drohit-cb marked this pull request as ready for review May 9, 2024 22:27
@drohit-cb drohit-cb merged commit 4d6f1fd into main May 9, 2024
3 checks passed
@drohit-cb drohit-cb deleted the client_interface_updates branch May 9, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants