Atlas App Services
234 results found
-
Meaningful errors
Descriptive errors are crucial for debugging and simply cannot be found with Atlas App Services !
1) If an error occurs - the whole function cascade is terminated - not only the steps following the error but also the ones prior to it. i.e. if a console.log was applied on a function that should have produced information before the error - that too will disappear and will not be displayed.
2) That is why it can take hours to find the exact location of the error this way, by trial and error.
3) If I was clever enough to console.error…2 votes -
add geojson data type!
A lot of spatial data is generated on mobile devices, but the default geospatial format (geojson) can't be synced due to nested arrays that are part of the specification. My current workaround is to save the geojson as stringified json, but this destroys our ability of using the embedded properties object and forces me to maintain a separate collection for the unpacked data, which can go out of sync. Maybe the team can just use the same simple workaround and implement the stringifying in the background and unpack transparently into just the one corresponding collection--- it would be a massive…
2 votes -
display all functions currently using a value
While viewing a VALUE, it would be most helpful if there could be a list of all functions currently using it.
2 votes -
Support for appService functions
Being able to program the functions from vscode.
2 votes -
Expansion of user permissions
Currently we have developers test code in the realm ui if multiple people are needing to work on the backend as there is no current method to deploy locally (ideally how you can with AWS Lambda). As of now, you can only directly modify a realm function in the ui if you have "Owner" permissions. This is very scary to give to individual resources
2 votes -
Headless Browser (Puppeteer)
Most things that you can do manually in the browser can be done using Puppeteer!
Some examples:
Generate screenshots and PDFs of pages.
Crawl a SPA (Single-Page Application) and generate pre-rendered content
Automate form submission, UI testing, keyboard input, etc.2 votes -
data api logs needs more details: origin, raw data in payload, etc
the data api logs are pretty useless, they need to contain the complete metadata from the api call. source ip address, headers, request body payload, etc...
2 votes -
realm function limits should be configurable
realm function limits should be configurable or increased, as it hinders capabilities for memory heavy tasks like encryption/decoding
eg sha256 encryption using crypto can only perform upto 10000 iterarations while industry standards expects atleast a lakh iterations2 votes -
Bracket Pair Colorizer
It would be awesome if there could be an implementation of something like VSCode's Bracket Pair Colorizer.
It may spend a lot of time and attention to pair the start and ending of functions without a visual aid.
Thank you very much for the consideration.2 votes -
easily manage single configuration file for different environments for ci/cd
simply support environment variables expansion in database name or table name
this way a single configuration folder can be used to configure multiple realm apps
but each realm app will use a different database/table so the data is separated.
an official mongodb example code from a blog post about this topic uses this expansion but talking with support they said it is not supported and that the example code is wrong.2 votes -
views
Use views (not materialized) as source for realm sync (potentially as read only)
2 votes -
logs
When filtering logs I should be able to enter a date/time in the near future for the To date in order to produce a shareable URL in the address bar that will include log lines in the range from some specified date in the past until "now" without having to precisely enter what "now" is.
2 votes -
Retry function
We use Realm functions to update related documents in our Mongo Atlas cluster. Sometimes, the DB connection (via
context.services.get("mongodb-atlas")
) fails. We should... be able to retry establishing a connection? (Or even easier, just configure a retry for the Realm Function itself.)2 votes -
Programmatic Support for Uploading Dependencies
Right now the Realm Administration APIs [1] only let's users list dependencies. It would be helpful to have an endpoint to upload dependencies as we have 8 env and uploading manually to all envs is painful.
[1] https://docs.mongodb.com/realm/admin/api/v3/#dependency-apis
2 votes -
Allow community submissions to documentation
Let's face it, the Realm documentation as a whole is really lacking in comparison to the level of documentation of Atlas and other enterprise-level products. There have even been times I've had to search the old stitch documentation to understand how something works, and many other times I'm left experimenting or abandon a feature completely (for example, I gave up on Environments).
Other places have had success putting documentation on GitHub and allowing community submissions via pull requests.
Please allow the same -- I would happily contribute rather than needing to maintain my own notes (for me and my team)…
2 votes -
Increase max 100 item limit from Realm Logs API
Currently the API has a hard limit of returning 100 results. For any sort of real diagnostics with the logs, this is pretty much worthless -- with a large quantity of transactions, the only thing I can think of to do would be to write a script to loop through time intervals and aggregate them on my side.
As a real-world scenario, I was trying to identify the full scope of impact of a bug that went out and was not caught for a couple days and ran into the limit. It was also difficult to even identify exactly when…
2 votes -
Expose default confirmFn for use within custom confirmFn
In my application I have implemented a custom confirm function which blocks registrations unless they have an email address in my company's domain. When this is the case, I would like to send the signup email as usual. However there isn't a way of doing this so in order to implement this basic filter I have to setup a 3rd party email service.
It would be good to allow calling the default confirmFn from within the custom one
2 votes -
Function with Large Memory for Image Processing
Would be great to set a Scheduled Trigger to process all my database images and store then in S3.
1— Would need to have memory settings for a function, to specify like 2GB or 4GB.
2— And ultimately, add Sharp library https://github.com/lovell/sharp because it has install scripts. AFAIK I couldn't install on a local computer then upload to the Realm Dependencies (not tested yet).
That would create a great dev experience, after a user uploads some images the triggers take over and process all the required image sizes and stores on S3 for delivery over CloudFront.
Of course, the best…
2 votes -
ObjectId
We need a way for ids to not have to be unwrapped from $oid before they are assigned as an ObjectId.
Incoming data:
{"_id":{"$oid":"..."}}
Realm class:
class Item: Object {
@objc dynamic var _id = ObjectId.generate()
}That's all that should be needed.
So the default ObjectId class needs:
enum CodingKeys: String, CodingKey {
case oid = "$oid"
}then in init(from decoder:Decoder)
let container = try decoder.container(keyedBy: CodingKeys.self)
try super.init(string: try container.decode(String.self, forKey: .oid))Do that when the .singleValueContainer() call fails.
That way both use cases are satisfied.2 votes -
Add 'Previously Used' column to table of functions
Add a column indicating when each function was previously used in the functions screen.
It would also be helpful to have some basic stats about each functions usage, like total usage count, used in last 30 days, and total usage as a % of all function calls.
This would help you to find which functions are used most to make them as efficient as possible, and to remove ones that aren't used much.
2 votes
- Don't see your idea?