|
@@ -47,6 +47,9 @@ final class ConfigSource {
|
|
loader = HoconConfigurationLoader.builder()
|
|
loader = HoconConfigurationLoader.builder()
|
|
.path(filePath)
|
|
.path(filePath)
|
|
.defaultOptions(options -> {
|
|
.defaultOptions(options -> {
|
|
|
|
+ if (globalTypeSerializers != null) {
|
|
|
|
+ options.serializers(builder -> builder.registerAll(globalTypeSerializers));
|
|
|
|
+ }
|
|
if (typeSerializers != null) {
|
|
if (typeSerializers != null) {
|
|
options.serializers(builder -> builder.registerAll(typeSerializers));
|
|
options.serializers(builder -> builder.registerAll(typeSerializers));
|
|
}
|
|
}
|