It's relatively easy to set up manual transpilation through a Husky pre-commit hook, but the .ts source file needs to be outside of your realm directory structure otherwise it is cleared later when doing an update from the UI, and you still lack type definitions for the Mongo variables.
Native Typescript support, offering IntelliSense autocompletion and type safety would be a great fit for Atlas Functions as it is usually critical these run safely. It is hard to take Atlas as a platform seriously without it.
Yes please! Having to go to the docs to find out what's in Context or globals like https://www.mongodb.com/docs/atlas/app-services/functions/globals/#std-label-bson feels like going back to 2018
It's relatively easy to set up manual transpilation through a Husky pre-commit hook, but the .ts source file needs to be outside of your realm directory structure otherwise it is cleared later when doing an update from the UI, and you still lack type definitions for the Mongo variables.
Native Typescript support, offering IntelliSense autocompletion and type safety would be a great fit for Atlas Functions as it is usually critical these run safely. It is hard to take Atlas as a platform seriously without it.