Closed bradchoate closed 2 years ago
MongoDB has support for array fields, but the defaultHandler presumes an array value is only used for updating foreign key relationships. I would just recommend doing something like this for the array case:
if (foreignConnectKey) { ...existing code... } else { fields[key] = value; }
Yes, we will work on it soon. Meanwhile free free to open a PR.
MongoDB has support for array fields, but the defaultHandler presumes an array value is only used for updating foreign key relationships. I would just recommend doing something like this for the array case: