Commit 8ab6209
authored
feat: Add datastore mode data transforms (#1369)
* Work in progress property transforms
* Change entity back to any
* Add the new interfaces and middleware code
* Pull the build property transform into separate fn
* Add arrays to the build transform function
* Add a test for property transforms
* Correct test comments
* More modular build function
* Update the test to check for the final result
* Add the request spy
* Fix the bug making property always increment
* Fix the test based on the most recent source code
change
* Refactor code for the array transforms
* Add a guard in case the casted type doesn’t exist
* Remove only
* Add a header
* Remove TODO
* Remove TODO
* Parameterize the test
* Ran linter
* Run the linter
* Add a comment to buildPropertyTransforms
* Add comments for building the property transforms
* Add two more test cases
* Build the 3 test cases
* should process string inputs for max/min/increment
* Produce test cases for different situations
* Delete invalid test cases and run linter
* Correct the order of operations test
* Remove only1 parent 167fc8e commit 8ab6209
File tree
4 files changed
+948
-117
lines changed- src
- utils/entity
- system-test
4 files changed
+948
-117
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1452 | 1452 | | |
1453 | 1453 | | |
1454 | 1454 | | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
1455 | 1475 | | |
1456 | | - | |
| 1476 | + | |
1457 | 1477 | | |
1458 | 1478 | | |
1459 | 1479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
73 | 84 | | |
74 | 85 | | |
75 | 86 | | |
| |||
1098 | 1109 | | |
1099 | 1110 | | |
1100 | 1111 | | |
1101 | | - | |
| 1112 | + | |
| 1113 | + | |
1102 | 1114 | | |
1103 | 1115 | | |
1104 | 1116 | | |
| |||
1120 | 1132 | | |
1121 | 1133 | | |
1122 | 1134 | | |
1123 | | - | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1124 | 1144 | | |
1125 | 1145 | | |
1126 | 1146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
0 commit comments