PipedreamHQ / pipedream

Connect APIs, remarkably fast. Free for developers.
https://pipedream.com
Other
8.75k stars 5.27k forks source link

Allow users to define language transformations #6711

Open johndeighan opened 1 year ago

johndeighan commented 1 year ago

Is your feature request related to a problem? Please describe. I want to write my code in CoffeeScript. Others will probably want to use TypeScript.

Describe the solution you'd like I would like to specify in one place, how to convert my code to JavaScript or Python, which are currently supported. It's OK if I need to use JavaScript or Python to specify the conversion. Thereafter, I should be allowed to enter code where code is currently allowed in whatever language I want, as long as I've done the above first.

Do you have a workaround? Currently, I would have to compile the CoffeeScript to JavaScript before entering the code into Pipedream. That really goes against the ease of use that Pipedream provides.

Comparable features in other tools? Not that I know of

dylburger commented 1 year ago

@johndeighan Thanks for the request! We're about to release a Git integration where you can serialize workflows as YAML / JS / etc. files that can be synced to a GitHub repo.

You can make any edits to these files locally, and merges to the repo's production branch would trigger deploys of the workflow. So you could edit your code in CoffeeScript / TS and transform to JS before committing to Git / merging.

Does that sound like it would work?