Realm
96 results found
-
Device Sync Access
Device sync is convenient but uncontrollable. For example, there are problems with database cache inconsistency, and occasionally synchronization errors may cause data rollback. These details cannot be controlled by programmers.
1 vote -
Enable calling a nested Atlas function from Swift SDK
Atlas app services allows organizing atlas functions into folders within a project, and you can call these nested functions from within other atlas functions. See this tip in your documentation for a quick explanation of this behavior: https://www.mongodb.com/docs/atlas/app-services/functions/#write-the-function-source-code
That said, it is not currently possible to call a nested atlas function from the Swift SDK (you can only call top-level functions from the Swift SDK). This means that all publicly accessible functions must be located in the top-level of my functions directory of my project, which makes my files very unorganized and hard to find the function I'm looking for.
…
1 vote -
Realm emulator
It would be helpful to be able to launch a local Realm emulator for development purposes with Realm SDK, and for testing the permissions rules. To avoid relying on a real instance.
Something similar to what Firebase supports:
- https://firebase.google.com/docs/emulator-suite
- https://firebase.google.com/docs/firestore/security/test-rules-emulator2 votes -
Add Android Studio plugin to replace Realm Studio
It's fairly unwieldy to use Realm Studio compared to SQLite support in Android Studio, which is in the App Inspection Tool window. I think it should be relatively easy to create a similar plugin for Realm. It would remove a large disadvantage compared to SQLite for Android developers and it would help rapid development.
3 votes -
Support network proxy for Realm SDKs
I copy here the feedback received on a support case about the lack of network proxy support in the Realm SDKs. That feature might be of interest for other customers as well, particularly during a product development phase, when we are mainly working behind a corporate proxy.
"We deeply regret the inconvenience caused by the absence of proxy support in our SKDs at this time.
But, We have received an update from our production manager regarding the ==tentative plans== to address the APIs related to proxy settings for all of Realm software development kits (SDKs) in the upcoming quarters, specifically…
1 vote -
Realm GraphQL returning “null” when using a GraphQL alias
The issue I am having is with GraphQL aliases. Currently I can run the following query with this result:
Query:
query {
event {
action
}
}
Result:{
"data": {
"event": {
"action": "create"
}
}
}
Although when I try to use an alias for one of the “action” field, it gives me a null value:
Query:query {
event {
something: action
}
}
Response:{
"data": {
"event": {
"something": null
}
}
}
Is GraphQL aliasing not available for the Realm GraphQL API, or am I doing something wrong on my end?6 votes -
Termination protection for realm apps
it is very easy to delete a realm app, once deleted we cannot restore the app or recreate with same appId in this case we will be forced to publish new versions of apps with new app IDs. also there are no access roles when it comes to app services which is a big security hazard for apps in production as any member can delete an app by mistake.
My Ideas are:
1. Introduce role based access for app services
2. give a restore app option for deleted apps (30 days before permanently getting deleted)1 vote -
Support for North Europe(Azure) for App Services
Our clusters are in North Europe, Ireland, and we plan to migrate our App Services (now located in West Europe, Ireland, AWS) to be located in West Europe, Netherlands, Azure.
Support for North Europe, Ireland, Azure, region for App Services would be much appreciated. That way our Data Services and App Services would be fully aligned and with a better performance.
2 votes -
dateonly and timeonly support
The .NET now have two new types DateOnly and TimeOnly to represent date and time respectively. The SQL Server already support these types. Having them in Realm .NET SDK will make the development with these data types possible.
2 votes -
Flexible sync to support sharded cluster
Currently https://www.mongodb.com/docs/atlas/app-services/sync/configure/enable-sync/ states that "Enabling Flexible Sync in Your App Services Application requires a non-sharded MongoDB Atlas cluster running
MongoDB 5.0 or greater". At the same time the maximum size of a single node in MongoDB Atlas is 4TB.What's the plan for apps that require much more than 4TB of data?
3 votes -
Native Codable Support for BSON Document
Supporting the codable protocol would clear out a lot of pain points in the swift sdk. I understand realm objects are classes not structs but implementing some kind of native conversion to Realm Objects would massively widen the set of use cases. Converting BSON docs from Remote access and GraphQL Queries to Realm objects is messy and lack any documentation. Having some kind of codable support would allow search functions and advanced MongoDB queries on a database with millions of objects without worrying about the sync infrastructure. It might not seem pertinent if you consider utility apps but if we…
3 votes -
Use Enums in Generated Realm Object Models
When the JSON Schema for a collection contains a string enumeration, like the following:
{ "properties": { "_id": { "bsonType": "objectId" }, "enumExample": { "bsonType": "string", "enum": [ "Foo", "Bar", "Baz" ], "title": "The type of entity that was favorited, such as a Workout." } }, "required": [ "_id", "enumExample" ], "title": "EnumExample" }
... the generated Realm Object Models don't take advantage of the limited possible values. I've generated all of the available languages, and they all generate variations of a simple
string
.Here's TypeScript as an example:
…import Realm from "realm"; export type EnumExample = { _id:
1 vote -
Realm Query Language Documentation: Sort, Distinct, Limit
Realm Query Language Documentation located here https://www.mongodb.com/docs/realm/realm-query-language/#sort--distinct---limit needs updating with more specific examples of how to implement SORT, DISTINCT and LIMIT. The documentation also appears to be out of date (?)
1 vote -
Be able to Download Users listing in App Users
Would be nice if we could export out the user listing under Users (App Users), the login "Devices" details are also found there. It could provide us with more insights into how our users access to the application (Web or Mobile, browser version and etc..)
4 votes -
Automatic Syncing of Referenced Objects
Please implement the feature to automatically sync referenced objects when you add a subscription to the parent object. This would mitigate the need for multilayer subscriptions at every step.
1 vote -
More examples
I think if there are more examples especially videos of how to setup and do small projects maybe on YouTube, Realm definitely reach more boarder audiences. Also it will help less experienced people.
4 votesOtso responded
Please see the example projects list here: https://www.mongodb.com/docs/realm/example-projects/
-
Custom Init Documentation
It would be great to have some documentation regarding how to go about custom initializing Realm objects in Swift. Most of the old docs which discussed the need/requirement for convenience init's has been removed. Also, most of the Git posts and replies date back to 2014/2015. So some clear guidance about using custom inits. (oh, and totally unrelated but some docs showing how to implement protocol's and codable Realm objects would be snappy! A LOT of folks ask about it on SO)
1 vote -
Add the ability to manually set the internal name used by Realm for a class
There is "RealmClass" annotation in android SDK.
It can be used to set an internal name for some class: @RealmClass( "someName").
It would be great to have this ability in swift SDK.
It is not possible to set internal name for a class in swift SDK now.3 votes -
Redesign documentation
Documentation is harder to follow then it should be.
Wanting to use realm over firebase but can't help but feel the time I waste navigating the docs would be worth just having used firebase...Absolutely love the feature sets I see but just not that clear how to implement them :/.
In particular I have seen conflicting messaging around authentication, some places advise that mongo app services authentication is not intended as a full authentication and should use other platforms. Why?That made me look at firebase auth with realm ... using custom jwt. Surely you can just create a…
2 votes -
Documentation for the path parameter of Configuration
The
path
parameter on the Configuration seems to be an important parameter when it comes to sync. This value should not be set when using sync. See the link to a forum post for more information.Overall, the configuration parameters could use some documentation.
1 vote
- Don't see your idea?