Skip to content

Commit a305170

Browse files
committed
Call Visit for all derived IProperty types
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 (cherry picked from commit 35bec33)
1 parent 3b28d80 commit a305170

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Nest/Mapping/Visitor/NoopPropertyVisitor.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,15 @@ public void Visit(IProperty type, PropertyInfo propertyInfo, ElasticsearchProper
165165
case IConstantKeywordProperty constantKeyword:
166166
Visit(constantKeyword, propertyInfo, attribute);
167167
break;
168+
case ISearchAsYouTypeProperty searchAsYouType:
169+
Visit(searchAsYouType, propertyInfo, attribute);
170+
break;
171+
case IWildcardProperty wildcard:
172+
Visit(wildcard, propertyInfo, attribute);
173+
break;
174+
case IFieldAliasProperty fieldAlias:
175+
Visit(fieldAlias, propertyInfo, attribute);
176+
break;
168177
}
169178
}
170179
}

0 commit comments

Comments
 (0)