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

Allow inline run based on a trust-list configuration #6

Open
mcandeia opened this issue Feb 10, 2023 · 0 comments
Open

Allow inline run based on a trust-list configuration #6

mcandeia opened this issue Feb 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mcandeia
Copy link
Contributor

Support inline run for workflows based on a trust-list configuration,

The inline support should be based on the workflow alias which can be either, a well-known alias or a reference to a workflow.

The inline alias should follow the following format: inline:${runtime}:${runtime_based_params}

e.g

For the deno runtime params it should be

inline:deno:${ts_file_url}

for the http it should be

inline:http:${http_func_url}

The modifications that needs to be done is all within the same file: https://github.com/deco-cx/durable/blob/main/registry/registries.ts#L141

A validation might be necessary based on a trust list of such runtime can be used inline with such parameters.

@mcandeia mcandeia added the enhancement New feature or request label Feb 10, 2023
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