I'm getting a deserializing error when trying go get all subpages for a page. Error is as follows
var listItems = SearchClient.Instance.Search<EditorialPage>(Language.Swedish).For(string.Empty)
Line 31: .Filter(x => !x.MatchTypeHierarchy(typeof(PageData)) | ((PageData)x).Ancestors().Match(currentPage.ContentLink.ToString()))
Line 32: .GetResult();
Hello!
I'm getting a deserializing error when trying go get all subpages for a page. Error is as follows
var listItems = SearchClient.Instance.Search<EditorialPage>(Language.Swedish).For(string.Empty) Line 31: .Filter(x => !x.MatchTypeHierarchy(typeof(PageData)) | ((PageData)x).Ancestors().Match(currentPage.ContentLink.ToString())) Line 32: .GetResult();