File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Tests/Nest.Tests.Integration/Cluster Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public class MetadataIndexState
9090 [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
9191 public Dictionary < string , ObjectMapping > Mappings { get ; internal set ; }
9292
93- // [JsonProperty("aliases")]
94- // public ?? Aliases { get; internal set; }
93+ [ JsonProperty ( "aliases" ) ]
94+ public IEnumerable < string > Aliases { get ; internal set ; }
9595 }
9696}
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ public void SimpleState()
2222 if ( ! index . Key . StartsWith ( "nest" ) )
2323 continue ;
2424 Assert . NotNull ( index . Value . Mappings ) ;
25+ Assert . NotNull ( index . Value . Aliases ) ;
2526 Assert . True ( index . Value . Mappings . Count > 0 , "{0}" , index . Key ) ;
2627 }
2728
You can’t perform that action at this time.
0 commit comments