Open moltar opened 3 years ago
My team is moving to dataform and we will be relying pretty heavily on js. I'd much rather have ts support, though.
I was considering just transpiling to js, but it would be better to have it in dataform. Any tips for tackling it if I make a fork?
@BenBirt - wanted to get some advice on this one and didn't know who to bump. Any advice here?
Probably a fairly heavy lift for me, but I'm willing to give it a shot. I also think I can get some people inside our company interested on working this, too.
Now that v3 is merged in as the main branch, this should be simpler to do - there's less code that this would have to be applied to.
This would probably need some hacking to figure out the best solution. I could see the solution to this being along the lines of:
workflow_settings.yaml
that swaps to expecting typescript rather than javascript.ts.transpile
for the vm2 compiler in the CLI, https://github.com/patriksimek/vm2/issues/323, https://github.com/dataform-co/dataform/blob/c0d1a7400f4aed74f90e032149561a3027df0ea4/cli/vm/compile.ts#L41.If you want to chat further, hit me up! My email is eliaskassell@google.com.
FYI with this landing #1550, I am also no longer interested in this project, thus do not need this feature. I will not close the issue, as it might be useful to others, but I will unsubscribe from further updates. Please don't hesitate to close this issue if you don't find it relevant.
No worries @moltar! From my last chat with them, https://www.datashell.dev are in the process of creating a CLI tool that can run Dataform compiled graphs (which are now agnostic to the SQL warehouse) against other warehouses - I would keep an eye on them.
Hi, is TypeScript support still on the roadmap?
Since Dataform is written in TypeScript, it would be great to get native support for TypeScript in scripts as well.
That would then allow developers to get IntelliSense support and compiler can check for type errors.
Thanks!