Open itpropro opened 2 years ago
FWIW, the language server is all written in C#. The extension itself is written in typescript, but it's a very think client for communicating with the language server, which is what is parsing the bicep code and doing all the analysis.
Regardless, it would still be good to provide parsing functionality in TS/JS, in addition to .NET and other language where there is enough demand.
Doesn't appear that support is really there yet in dotnet, but in the future it might be possible to package Bicep into a node module with WASM - that way we wouldn't have to re-implement logic natively in TS/JS.
Is your feature request related to a problem? Please describe. It would be great to have a native Typescript library to natively interact with bicep templates. As the vscode extension is already written in TypeScript, are there any plans to publish a JavaScript/TypeScript SDK?
Describe the solution you'd like A Azure SDK package to interact with bicep templates in the browser and in node.js (maybe deno later?).Published for example as @azure/bicep and integrated with the @azure/identity package for deployment authentication. Some feature examples would be
I would like to hear your thoughts on this!