Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5863

Atlas Search aggregation pipeline TypeScript type definitions

    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      It would be so much easier to write aggregation pipelines if we had type checking and type hinting.

      At this moment we can pass any JSON there. There is no driver or library that would check if it's correct or that would type check the input.

      I'm attaching some screenshots that show how it could work.

        1. atlasSearchTypeHints.png
          atlasSearchTypeHints.png
          193 kB
        2. atlasSearchTypeErrors.png
          atlasSearchTypeErrors.png
          206 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: