Realm

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. Support TypeScript

    I know this is probably a very complex feature, but I'd like to work with TypeScript when writing functions.
    Some stretch goals:
    - full integration with VSCode so we no longer have to use the web editor
    - add support for testing functions (through CI/CD)

    18 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  2. Increase of Functions timeout

    Timeout is set to 90 seconds. This value is a fixed setting and is too low for extensive ingestion functions.

    A default value of 600 seconds would be helpful.

    Even better would be the ability to set an individual timeout value per application in the settings.

    15 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    started  ·  1 comment  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  3. function sandbox

    It would be great to have a function sandbox area, where you can write and called previously used functions (saved like notepad++ does) without having to create the function and commit it.

    This would be for trying thing out or performing quick tasks for which you don't want to go through all the hassle of formally creating a function.

    5 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  4. Support for arrayFilters in Functions

    Can we add arrayFilters and other array update capabilities that already exist in MQL? Its is difficult to update arrays, and very easy to update an array in MQL in node.js for example.

    5 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    planned  ·  1 comment  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  5. Folders for Functions, Values

    Add folders to the Functions and Values areas and then to make it 10x better by adding permissioning by folder so we can keep our clients from altering sensitive functions/values in specific folders.

    5 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  6. Use node modules in Functions

    As far as I understand currently it is not possible to use node/npm modules is Functions. Would be great to have it.

    4 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    started  ·  1 comment  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  7. Ability to set Values in Functions

    Ability from webhooks and functions to call context.values.set() and set a value that can then be referenced somewhere later. This could dramatically cut back on calls to outside APIs as we need data in multiple places so we end up having to make several calls.

    3 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  8. Add line number to function call error messages

    A simple line number of where a function fails would be incredibly useful. And a function name would be important too for when a function calls another function.

    2 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  9. Postman snippet generator

    Working with the http library has been the most frustrating part of working with Realm functions. Postman has an awesome "generate code snippet" feature, with lots of options like Axios and Unirest. It would great if I didn't have to manually convert from cURL and could just copy some code from Postman into my Realm function.

    2 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  10. Add HTTPMethod column name in Realm HTTP Service webhooks table

    Please add the HTTP method name and other properties in the list of HTTP Service webhooks. See attachment

    2 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  11. Realm UI Ability Changes to Github Repo

    Please add git integration for functions and 3rdParty HTTP services.
    Everything I make a change to a function and it is deployed, Realm tells me what the changes are but they are not pushed to my own Git repository

    2 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  12. Global Variables for Functions

    Add global variables to Functions (so I don't have to pass around supposedly global variables to every function call).

    Add support for typescript :)))

    2 votes
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  13. Increase of external dependencies size constraints

    The 10mb size constraint makes it impossible to deploy apps relying on Computer Vision or Machine Learning algorithms, like OpenCV.

    1 vote
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  14. 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.

    1 vote
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  15. Expose dbstats / stats in Functions

    Add to the allowable MongoDB actions to be able query the database size, like: db.runCommand({ dbStats: 1, scale: 1 }) or by collection like db.sources.stats()

    1 vote
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  16. Availability of Args in Function Context

    Not sure if this is do-able already or not. Couldn't find documentation.

    I have a function that looks like

    exports = function(dbName, collectionName, pipeline){...

    I want to be able to access the arguments sent to the function in the Can Evaluate JSON expression.

    I assumed it might work like

    {

          "%%args.dbName": "eflex-test"
    
    }

    but that doesn't seem to work

    1 vote
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  17. Access to %%args in Filters

    Allow the access to %%args in filters. This would make it possible to make the apply_when of filters more dynamic by accessing the incoming queries. As of now, filters are completely static due not having access to any incoming information.

    1 vote
    Sign in Sign in with your MongoDB Account
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Realm Functions  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base