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
accountNumber is v.string() in convex (to preserver the leading 0), so importing via npx convex import --table accounts accounts.csv fails because the importer tries to import accountNumber as v.number.
Failed to insert or update a document in table "accounts" because it does not match the schema: Value does not match validator.
Path: .accountNumber
Value: 1.0
Validator: v.string()
So instead I would expect that the importer tries to cast the values to the format of the field. Or at least treat everything as string and if the target field is of type v.number try to cast the string to number.