@infrab4a/connect 4.0.0-beta.13 → 4.0.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2218,7 +2218,10 @@ GraphQLFieldHelper.ConvertFieldValueFrom = (data, fields) => Object.keys(data).r
|
|
|
2218
2218
|
}
|
|
2219
2219
|
if (!!from)
|
|
2220
2220
|
return { ...result, [attributeName]: from(data[columnName], data) };
|
|
2221
|
-
return {
|
|
2221
|
+
return {
|
|
2222
|
+
...result,
|
|
2223
|
+
[attributeName]: isString(data[columnName]) ? parseDateTime(data[columnName].toString()) : data[columnName],
|
|
2224
|
+
};
|
|
2222
2225
|
}, {});
|
|
2223
2226
|
GraphQLFieldHelper.ConvertFieldValueTo = (instance, fields, update = false) => {
|
|
2224
2227
|
const data = instance.toPlain?.() || instance;
|