Realm
90 results found
-
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 -
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 -
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 -
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 -
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 -
Provide Atlas App Services in GCP London europe-west2
We have a MongoDB cluster in GCP London (europe-west2), it would be great to pair our Atlas App Services instance with it inside europe-west2, for speed and compliance reasons.
7 votes -
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 -
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 -
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 -
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 -
Provide a default webpage for password reset
Our request is that MongoDB provide a landing page for password resets. As is, when a password reset email is sent, the developer needs to have their own webpage/server spun up to handle that. Most other SDKs (Firebase, Couchbase etc) provide a page to handle that interaction by default, with an optional developer provided site for special branding or other functionality etc.
1 vote -
Event Library Support for .NET CORE for Event Sourcing
As you can see this https://www.mongodb.com/docs/realm/sdk/swift/sync/event-library/ is only supported on the SWIFT SDK and would be amazing to bring its support in the .NET CORE SDK so that we can have our apps utilise Event Sourcing with mongodb and wouldn't need to go to cosmos or eventstore for this.
1 vote -
Increased Authentication Visibility and Better Customization
Having a fully managed authentication through Realm has been great, it continues to save a lot of time developing authentication and security protocols. With that said, as my application's admin I feel like my visibility into authentication is sparse. I can not help my users when they run into issues and am concerned as our application continues to grow. My request is for more visibility into authentication, including, but not limited to the following...
- Last Login Date: Ability to run queries on this field in order to generate daily, weekly, and monthly user metrics, most importantly the number of logins…
1 vote -
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 -
encryption
A better encryption key rotation without write copy
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 -
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 respondedPlease see the example projects list here: https://www.mongodb.com/docs/realm/example-projects/
-
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 -
Return count of inserted/updated records for BulkWrite and collection.insertMany( with duplicates)
On success, BulkWrite returns a null response as mentioned in the documentation - https://www.mongodb.com/docs/atlas/app-services/functions/mongodb/api/#collection.bulkwrite--. Can you please send correct response details ( no. of records inserted, no. of records updated ) ? The functionality works correctly but we need correct details returned for debugging issues instead of making a redundant find call to check the results.
When inserting with duplicates, mongo inserts unique records successfully and discards duplicates. However, in the response sent, it does not specify the number of successfully inserted records and the count of duplicates, whereas, this information is returned in normal mongo SDK insert
1 vote -
transfer authenticated user to another project
im surprised that nobody asked about this. firebase already have this functionality whereby i could export existing firebase firestore and authenticated users to another project.
in mongodb realm, collection and functionality can be export and imported. but existing authenticated users are not able to move. or maybe im missing something. i find this a big bummer when duplicating project for staging or testing or even for another client. i dont wish to need to do custom authentication todo this, but i am on the way todo it.
1 vote
- Don't see your idea?