Atlas Search aggregation pipeline TypeScript type definitions

XMLWordPrintableJSON

    • Not Needed
    • None
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Alex Bevilacqua
              None
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: