Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SerializeIndex
Browse files Browse the repository at this point in the history
Fix type/bug in index serialization and creation which serializes `LanguageField` to `Language` instead of `Language_Field`
ahmedisam99 authored Jul 12, 2024
1 parent cd6efb6 commit 2ad5b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Redis.OM/Modeling/RedisIndex.cs
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ internal static string[] SerializeIndex(this Type type)

if (!string.IsNullOrEmpty(objAttribute.LanguageField))
{
args.Add("LANGUAGE");
args.Add("LANGUAGE_FIELD");
args.Add(objAttribute.LanguageField!);
}

0 comments on commit 2ad5b9e

Please sign in to comment.