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

Tool to convert API workflows to typed Rust code #7

Open
philpax opened this issue Oct 18, 2024 · 0 comments
Open

Tool to convert API workflows to typed Rust code #7

philpax opened this issue Oct 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@philpax
Copy link
Owner

philpax commented Oct 18, 2024

API workflows need to be manually converted to their typed Rust representation (or untyped dynamic, as it may be). This is not that difficult, but it can be quite tedious. It should be possible to automate this by loading the workflow in, converting all of the nodes to Rust nodes, and then collapsing the nodes with outdegree 1.

There is some interaction with #6 here - we need to know which nodes have typed representations to do this correctly. We could always assume that all non-standard types are dynamic, but that may not always be the case. Additionally, we'd need to convey information about which nodes are available anyway - the refactoring associated with #6 should expose this information.

@philpax philpax added the enhancement New feature or request label Oct 18, 2024
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