Skip to content

Commit

Permalink
Added back modelForField
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Oct 27, 2023
1 parent f6088b0 commit 99def84
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -491,4 +491,8 @@ public void validateDoesNotShadow(String name) {
throw new MapperParsingException("Field [" + name + "] attempted to shadow a time_series_metric");
}
}

public String modelForField(String fieldName) {
return fieldTypeLookup.modelForField(fieldName);
}
}

0 comments on commit 99def84

Please sign in to comment.