Skip to content

Commit 1f97d02

Browse files
committed
Make numeric_resolution on date mapping nullable
1 parent 03ea87c commit 1f97d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nest/Domain/Mapping/Types/DateMapping.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ public DateMapping():base("date")
4343
public bool? DocValues { get; set; }
4444

4545
[JsonProperty("numeric_resolution")]
46-
public NumericResolutionUnit NumericResolution { get; set; }
46+
public NumericResolutionUnit? NumericResolution { get; set; }
4747
}
4848
}

0 commit comments

Comments
 (0)