Improve error message when supplying $source.documents an array of strings (or anything other than objects)

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Atlas Streams
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      const fs = require('fs')
      raw_data = fs.readFileSync("/Users/joe.niemiec/Documents/POCs/data.json", 'utf-8').split(/\r?\n/).filter(line => line !== '')
      s = {$source : {documents : raw_data}}
      sp.process([s])3:44it keeps telling me
      is the wrong type 'array', expected types '[object]'

            Assignee:
            Unassigned
            Reporter:
            Matthew Normyle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: