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

Add enhanced looping capabilities #45

Open
frankkilcommins opened this issue Apr 14, 2023 · 0 comments
Open

Add enhanced looping capabilities #45

frankkilcommins opened this issue Apr 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@frankkilcommins
Copy link
Collaborator

The current specification is arguably Turing complete in so far as it supports conditional branching with the ability to go to other steps or workflows depending on those conditions. Recursively looping it theoretically possible while a particular condition holds true.

In the presentation of the draft specification to the OAS TDC, it was mentioned that the ability to have a more verbose looping process (especially based on the output of a previous step/workflow) might be advantageous for various use-cases.

Example:
Say an API call returns a list of flights matching certain criteria, then one might want to be able to loop over those flights and get flight prices for each of those flights before moving on to a further step.

The purpose of this issue is to discuss the need for a more advance looping system as part of the initial specification version and if warranted propose and add the looping ability to the specification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant