Skip to content

Commit

Permalink
fix type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
a.usenko committed Jul 24, 2023
1 parent 66747e1 commit c4d4bcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ data class SearchHit<S : BaseDocSource>(
* @throws dev.evo.elasticmagic.types.ValueDeserializationException if the field value
* cannot be deserialized.
*/
operator fun <V> get(field: BoundField<V, *>): List<V>? {
operator fun <V> get(field: BoundField<V, *>): List<V> {
return this[field.getQualifiedFieldName()]
.map(field.getFieldType()::deserialize)
}
Expand Down

0 comments on commit c4d4bcd

Please sign in to comment.