Realm

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. 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

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  2. refresh logs button

    Please add a refresh button to the Logs view. I realize a browser refresh does the trick, but a button above the Logs table is more convenient.

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  3. More descriptive errors

    We need more error codes for different situations. For example, using the wrong details while logging in returns 46 (Unknown), with a message indicating wrong credentials. In my app, 46 maps to a message like "An unknown error occurred. Please try again later.".

    It would be nice if wrong credentials had its own error type so I could send a more descriptive message.

    Please also consider this for any other error type that doesn't have a good reason for being Unknown.

    Thanks!

    6 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  4. Ways to pause a Realm App

    It would be awesome, if there was a way pause a Realm App via functions.

    Currently we are pausing our cluster every night using a trigger. However that causes all our Realm apps' sync and triggers to crash, so I have to manually restart each of them every morning.

    It would be awesome if I could pause/unpause a Realm App from a function. Something like this, maybe:

    context.realm.app([app-id]).pause()
    context.realm.app([app-id]).unpause()

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  5. Complex Realm Querying (No Partitions)

    So there's currently an issue with Partitions where if you have multiple complex relationships, files that need to be in multiple partitions aren't accessible.

    Let's say you have a User Object and a Tribe Object.
    Each user has a list of tribes they are in, and each tribe has a list of users they are in.

    If you partition for each User, and User 1 and User 2 share a tribe, the User 2 partition will be unable to access the tribe.

    If you partition for Tribes, and Tribe 1 and Tribe 2 that share a User, one partition will…

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  6. Realm roles in Atlas Projects

    Currently we only have two roles available for Realm Users:
    1. Project Owner
    2. Project ReadOnly
    Would be great to have more roles for Realm Users with the ability to give access to specific Realm App or give access to Realm only without giving access to the entire project. Something like Realm WriteRead and Realm ReadOnly roles
    Thank you,
    Anton

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  7. user object documentation

    The documentation for user object (as many other parts) seems incomplete and doesn't provide enough information about the possible responses you can get from the API and the SDK.

    https://docs.mongodb.com/realm/authentication/user-objects

    Please provide documentation for the user object which includes the built-in authentication providers.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  8. Decode user token

    Using Realm as an authentication service and a separate backend that then allows the user to connect to separate external APIs, I need to be able to verify that the user is an authenticated user and that their data (only email in this case) match those of the third party external API.

    The request to the third party API runs via admin API channels so it's critical to ensure the user is only able to manipulate their own data (orders, subscriptions etc).

    As far as I've been told there is no way to verify a user that logged into my…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  9. Schema Definition/Validation: Descriptive Errors

    It would be nice to have a more descriptive error similar to the way Joi works when an insert fails due to schema definition. An error that points to the offending section of the schema.

    It's hard to debug with the current "insert not permitted" error.

    Thanks

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  10. Import app with Realm UI

    You can export the realm app using the Realm UI, but you cannot import it.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  11. Provide support for Paypal Node SDK

    I just would like to have added support for the PayPal-node-SDK module. Currently when you try to use it as a dependency it results in an error.

    The repo is located here:

    https://github.com/paypal/PayPal-node-SDK

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  12. Support for user "Presence"

    At this point in time, it is not possible to determine in Realm Cloud whether a user is connected to a MongoDB Realm app and is online or not. In other words, there is no built in mechanism in Realm for figuring this out. Firebase has had this feature for years, so I think it only nature that Realm should as well. This is absolutely critical for developing something like a chat application.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  13. Add Subscription Payments for charging Customers/Users in MongoDB Realm Cloud

    MongoDB Realm is perfect for SaaS products but the hard part is always implementing recurring billing for customers, we would need to write and implement a system like this ourself and maintain it which costs time and money or use third party services like Chargebee or Recurly. Firebase already has a nice extension market where you can install the Stripe extension and you are ready to go and charge your Customers monthly, I would like to see the same in MongoDB Realm with Stripe & PayPal & maybe more, best would be as an official product of the MongoDB product…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  14. Copy functions from one cluster to another

    It would be great if you could copy a Realm Service or Function from one cluster to another. I find myself having to open two tabs and coping the function code then checking all settings are the same etc.
    We would normally dev on a "test" cluster then copy Service functions over to "prod" cluster. Or am I missing something?

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  15. Email/Password Auth password requirement options

    Email/Password Auth currently only validates passwords to be from 6 to 20 character long.
    We need more requirement options, such as:

    Minimum length, which must be at least 6 characters but fewer than 99 characters. User chooses the min and max option.
    Require numbers
    Require a special character from this set:
    ^ $ * . [ ] { } ( ) ? " ! @ # % & / \ , > < ' : ; | _ ~ `
    The plus "+" and minus "-" sign do not meet special character requirements.
    Require uppercase letters
    Require lowercase letters

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  16. on premise solution

    Allow MongoDB to be used for on-premise solutions to offer early on integration or govcloud support for Realm.

    3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  17. Allow modifying Sync permissions without having to terminate it. Maybe pause instead ?

    Currently only way to modify/add permissions to Sync is at the beginning or terminating it. It would great if we could modify/add them with Sync Running or at least only pause it to avoid downtime and deleting cache from sync.

    2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  18. Compare Strings and ObjectIds in JSON Expressions

    We have a use-case where we need to compare an ObjectId on a document to the ObjectId of the user's custom data doc. However, because the ID of the user's custom data object is returned as a string and not as an ObjectId, there is no way to make this comparison without creating a function just to compare the ObjectId and the string. The overhead of invoking a function just to call toString on the ObjectId is going to be a major problem, especially because we need to make this comparison 5 times for every single operation on our most…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  19. Ability to Reuse Types in Custom Resolver Schemas

    We are in the process of migrating from a hand-implemented Apollo server to Mongo Realm, but are finding the inability to reuse types on custom resolvers to be a serious impediment.

    For example, we have a number of custom resolvers that use the same type to define a temporal interval, but we cannot reuse that type in the arguments for our custom resolvers as Stitch will throw an error upon encountering those duplicated types. Additionally, many of these custom resolvers return the exact same type, but if we try to reuse that same type definition Stitch will throw errors about…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  20. Ability to query datalake / online archive

    The new online archive is awesome.

    What would be even better is if we could query the data it moves to S3 as part of our stitch/realm functions.

    Thanks

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  MongoDB Realm (Cloud)  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base