Skip to content

Commit

Permalink
TINKERPOP-3001 Fixed config setting when reading driver settings from…
Browse files Browse the repository at this point in the history
… InputStream

Fixing this resolve an issue with a WARN message popping up in the console given the bad key. Crazy - guess this never worked. CTR
  • Loading branch information
spmallette committed Oct 13, 2023
1 parent 89934d2 commit 097b32e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ This release also includes changes from <<release-3-5-8, 3.5.8>>.
* Added translator to the Go GLV.
* Fixed bug with filtering for `group()` when the side-effect label was defined for it.
* ProjectStep now throws exception when a duplicate key is provided in a query.
* Fixed bug in the Java driver configuration for serialization when reading settings from an `InputStream`.
* Fixed bug in `DotNetTranslator` where `PartitionStrategy` usage was not translating properly when specifying the `readPartitions`.
* Fixed bug in `PythonTranslator` where `Set` syntax was not being generated properly.
* Fixed bug in configuration object given to `PartitionStrategy` for Go that prevented `readPartitions` from behing set properly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public static Settings read(final InputStream stream) {
final Constructor constructor = new Constructor(Settings.class, options);
final TypeDescription settingsDescription = new TypeDescription(Settings.class);
settingsDescription.addPropertyParameters("hosts", String.class);
settingsDescription.addPropertyParameters("serializers", SerializerSettings.class);
settingsDescription.addPropertyParameters("serializer", SerializerSettings.class);
constructor.addTypeDescription(settingsDescription);

final Yaml yaml = new Yaml(constructor);
Expand Down

0 comments on commit 097b32e

Please sign in to comment.