entity icon indicating copy to clipboard operation
entity copied to clipboard

feat: add EntityField transformation

Open wschurman opened this issue 2 years ago • 0 comments

Why

This is a first attempt at field transformation (right now we just do field validation). Note that this is currently broken due to the following case:

  1. Entity contains LowerCaseStringField
  2. loadManyByFieldEqualingMany('lowercaseField', 'THIS_WILL_BE_LOWERCASED') returns a map from value requested to entities matching that value. The problem is that the value requested is upper-case but the returned map is lower-cased.

How

Do transformation in addition to validation in the field.

Test Plan

Run all tests.

wschurman avatar Jul 01 '22 17:07 wschurman