ES6 support in functions
planned
J
Jonathan Reams
The documentation says that functions can use ES6+ features (https://docs.mongodb.com/stitch/functions/), however creating a typed array results in an error:
> error:
ReferenceError: 'Uint8Array' is not defined
Drew DiPalma
Hi Folks!
As part of our upcoming re-brand of "Stitch" to "Realm" we'll also be migrating our feedback forum and joining the rest of MongoDB at feedback.mongodb.com, as part of that transition, we'll be shutting down this forum. We're still keeping track of this feedback and all of the related comments/discussions, but all future updates will be made here:
https://feedback.mongodb.com/forums/923521-realm/suggestions/40550572-es6-support-in-functions
Drew DiPalma
planned
Hi Folks – We're getting ready to start expanding the ES6+ support for Functions. In order to help us figure out how to prioritize, it would be very helpful if folks on this thread would take a few minutes to fill out this survey – https://mongodb.co1.qualtrics.com/jfe/form/SV_eyu0wpqpeXDfNat
Eric
Same for find() function in Arrays. ES6 in not supported in Stitch as far as I can see...
M
Marc Blaesche
There is also a shocking lack of support for basic features. It is for example not possible to use the Array method "includes" or the String method "startsWith". This are just two examples. Base64 is not supported as well. This is really a bummer and if the Documentation says ES6 is supported, then I would at least expect all features from ES1
Brandon Phillips
Yeah the documentation is incredibly unclear on exactly which language features are supported.
Is there a reason there is no technical transparency into the execution environment? It's not very reassuring to have to push-and-pray