Allow format() for types UUID to handle string input

This commit is contained in:
rob committed 2021-09-02 11:52:26 +12:00
1 parent bf3c1629f7
commit 2f18e97a44
2 files changed
+28

No files matched your search

@@ -35,6 +35,11 @@ abstract class ScalarTypeUUIDBase extends ScalarTypeBase<UUID> implements Scalar
return true;
}
@Override
public String format(Object value) {
return String.valueOf(value);
}
@Override
public String formatValue(UUID value) {
return value.toString();