Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hello
What types are supported by the client conventions IncludeField method?
I have the following(example code):
class InitModule { private readonly Injected _client; void Initialize(InitializationEngine context) { _client.Service.Conventions.ForInstancesOf() .IncludeField(x => x.Field1.Select(y => y.StringValue)); } } class Search { private readonly Injected _client; void Search() { var res = _client.Service.Search() .Filter(x => x.Field1.Select(y => y.StringValue) .In(ArrayOfStrings)).GetResult() } }
Field1 is a list of complex types with a string property. I want to filter on the list of string property values.
Should this work? It is supported?
/Peter