Skip to content

Commit

Permalink
Call Visit for all derived IProperty types
Browse files Browse the repository at this point in the history
PR #5010 added missing Visit methods for
derived IProperty types. This commit adds
calls to the derived IProperty visit
methods to the Visit method passed an
IProperty, on the NoopPropertyVisitor
  • Loading branch information
russcam committed Sep 18, 2020
1 parent 04e97a6 commit 35bec33
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Nest/Mapping/Visitor/NoopPropertyVisitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,15 @@ public void Visit(IProperty type, PropertyInfo propertyInfo, ElasticsearchProper
case IConstantKeywordProperty constantKeyword:
Visit(constantKeyword, propertyInfo, attribute);
break;
case ISearchAsYouTypeProperty searchAsYouType:
Visit(searchAsYouType, propertyInfo, attribute);
break;
case IWildcardProperty wildcard:
Visit(wildcard, propertyInfo, attribute);
break;
case IFieldAliasProperty fieldAlias:
Visit(fieldAlias, propertyInfo, attribute);
break;
}
}
}
Expand Down

0 comments on commit 35bec33

Please sign in to comment.