Alex
My feedback
4 results found
-
105 votes
An error occurred while saving the comment An error occurred while saving the comment Alex commentedAs an alternative, there is a very poor way to transpile a typescript function file to JavaScript, described at "https://dev.to/stasbar/writing-mongo-realm-serverless-functions-in-typescript-5fdo". If typescript support is too much to handle, maybe, someone on your team could try to work out a transpiler for typescript (with imports/exports) etc. to be honest, I tried to write one, but, because of my lack of experience and poor understanding of how Atlas Functions system works, obviously, failed. Maybe something like Wrangler for Cloudflare Workers?
Alex supported this idea · -
12 votesAlex supported this idea ·
-
64 votesAlex supported this idea ·
-
43 votesAlex supported this idea ·
I do not know if it's appropriate to write here, but still, it might help someone who is looking for a way to develop functions in typescript. I actually went for my approach, which I asked about in the comment below. You may use the CLI build tool made for making functions development easier: https://www.npmjs.com/package/@realm-fun/cli. It is far from delivering the full-fledged typescript support, but it is something / replacement for the time being before Mongo team comes up with their own approach to the issue XD