You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
properties: {
an_array: {type: 'array'}
}```
I can no longer create new records from front-end client with regular: `create({an_array:["something"]})`.
The error is: `malformed array literal: "["something"]"`
It works when I delete the definition from model.js but then I can't search for `$contains`.
The text was updated successfully, but these errors were encountered:
SharpBCD
changed the title
Error in creating after adding type 'array' in schema
Error creating new record after adding type 'array' in schema
Oct 4, 2019
model - define the property as array type
create record - property accepts a deserialized array as value
contains search - $contains accepts deserialized or serialized array of values to search for
After adding:
The text was updated successfully, but these errors were encountered: