Skip to content

Commit

Permalink
Merge pull request #3568 from ingef/fix/om-view
Browse files Browse the repository at this point in the history
Fix view for NamespacedStorage
  • Loading branch information
thoniTUB authored Sep 19, 2024
2 parents 29a48b6 + 796515c commit b6d1361
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.bakdata.conquery.mode.cluster;

import jakarta.validation.Validator;

import com.bakdata.conquery.io.jackson.Jackson;
import com.bakdata.conquery.io.jackson.MutableInjectableValues;
import com.bakdata.conquery.io.jackson.View;
Expand All @@ -10,7 +12,6 @@
import com.fasterxml.jackson.databind.DeserializationConfig;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationConfig;
import jakarta.validation.Validator;

public record InternalMapperFactory(ConqueryConfig config, Validator validator) {

Expand All @@ -35,7 +36,7 @@ public ObjectMapper createWorkerPersistenceMapper(ShardWorkers workers) {
}

public ObjectMapper createNamespacePersistenceMapper(DatasetRegistry<?> datasetRegistry) {
final ObjectMapper objectMapper = createInternalObjectMapper(View.Persistence.Shard.class);
final ObjectMapper objectMapper = createInternalObjectMapper(View.Persistence.Manager.class);

datasetRegistry.injectInto(objectMapper);

Expand Down

0 comments on commit b6d1361

Please sign in to comment.