Closed Swahvay closed 8 months ago
i think this one is by design/wontfix
// input. same input that's passed to Triggers, Observers, Validators. includes action-only fields
input: Data;
// data that'll be saved in the db
maybe we need better documentation for this?
That's fine if it's by design. When would data
ever be more than a subset of input
? Does data
include triggers or field formatters or something?
it includes default value for fields, formatted fields etc
what would be written to the database
Gotchya. Feel free to close/change this to an add documentation ticket/whatever you want. 👍
When using
transformWrite
, thedata
Map only includes fields defined on the schema. Obvious work around is to just use theinput
object.