Skip to content
Snippets Groups Projects
Commit bf0fb1a3 authored by Mark Chance's avatar Mark Chance Committed by Marc Burnie [AWS]
Browse files

facilitate testing

(cherry picked from commit 5762f5bc)
parent 36e71a65
No related branches found
No related tags found
1 merge request!874Cherry-pick 'Fix mapping boolean values to string' into release/0.28
......@@ -49,10 +49,16 @@ public class SchemaToStorageFormatImpl implements SchemaToStorageFormat {
@Inject
public SchemaToStorageFormatImpl(ObjectMapper objectMapper, JaxRsDpsLog log, SchemaConverterConfig schemaConverterConfig) {
this(objectMapper, log, schemaConverterConfig, null);
}
public SchemaToStorageFormatImpl(ObjectMapper objectMapper, JaxRsDpsLog log, SchemaConverterConfig schemaConverterConfig,
VirtualPropertiesSchemaCache virtualPropertiesSchemaCache) {
Preconditions.checkNotNull(objectMapper, "objectMapper cannot be null");
this.objectMapper = objectMapper;
this.schemaConverterConfig = schemaConverterConfig;
if (virtualPropertiesSchemaCache != null) this.virtualPropertiesSchemaCache = virtualPropertiesSchemaCache;
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment