Lattice Grid Buy a licence

Data Router · console.warn

addSource field "{field}" names an unknown t...

Printed by Data Router, prefixed [lattice], since 1.84.0.

Warnings reference › data-router:field-type

Identifier
data-router:field-type
Raised by
Data Router
Since
1.84.0

What happened

A field in addSource’s fields option named a type the router does not coerce. The field is left exactly as it arrived - passed through uncoerced - rather than throwing.

The fix

Name one of the supported types - text, number, integer, boolean, date or json - or drop the field’s declaration to pass it through deliberately.

The smallest fix

fields: { code: "text", amount: { type: "number" } }

Reference

Covered in full at the API reference.