From 8aca17da95d5d1f5a78426a836f7f55679d5b80e Mon Sep 17 00:00:00 2001 From: Brian Sam-Bodden Date: Mon, 5 Jun 2023 12:04:50 -0700 Subject: [PATCH] refactor: make featureExtractor Bean Nullable in getKeyValueTemplate Bean definition --- .../java/com/redis/om/spring/RedisModulesConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis-om-spring/src/main/java/com/redis/om/spring/RedisModulesConfiguration.java b/redis-om-spring/src/main/java/com/redis/om/spring/RedisModulesConfiguration.java index 9eaf41d4..d041d9d1 100644 --- a/redis-om-spring/src/main/java/com/redis/om/spring/RedisModulesConfiguration.java +++ b/redis-om-spring/src/main/java/com/redis/om/spring/RedisModulesConfiguration.java @@ -299,7 +299,7 @@ public CustomRedisKeyValueTemplate getKeyValueTemplate( // RedisModulesOperations redisModulesOperations, // RedisMappingContext mappingContext, // RediSearchIndexer indexer, // - FeatureExtractor featureExtractor + @Nullable @Qualifier("featureExtractor") FeatureExtractor featureExtractor ) { return new CustomRedisKeyValueTemplate( new RedisEnhancedKeyValueAdapter(redisOps, redisModulesOperations, mappingContext, indexer, featureExtractor), //