Skip to content

Commit

Permalink
Add GeoPointArray (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
geisterfurz007 authored Sep 6, 2022
1 parent a1ab4ec commit 32a4f64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Typesense/Field.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ private static FieldType MapFieldType(string fieldType)
return FieldType.FloatArray;
case "bool[]":
return FieldType.BoolArray;
case "geopoint[]":
return FieldType.GeoPointArray;
case "auto":
return FieldType.Auto;
case "string*":
Expand Down
2 changes: 2 additions & 0 deletions src/Typesense/FieldType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public enum FieldType
FloatArray,
[EnumMember(Value = "bool[]")]
BoolArray,
[EnumMember(Value = "geopoint[]")]
GeoPointArray,
[EnumMember(Value = "auto")]
Auto,
[EnumMember(Value = "string*")]
Expand Down

0 comments on commit 32a4f64

Please sign in to comment.