michaellperry/jinaga

Parse field values in template functions

michaellperry opened this issue · 0 comments

When a template function assigns a field a value, convert that pair into a field value condition. For example:

  function tasksInList(l) {
    return {
      type: "Task",
      list: l
    };
  }

Becomes the query S.list F.type="Task".