A request from a community. Currently, if you are using a Field class as the target fields for Query and/or a qualifiers for BulkOperations or etc, then you are calling following methods.
var fields = Field.From("Field1", "Field2", "Field3", ...);
In which it is literal and not compiler friendly. In addition, the Expression below only supports single property parsing.
var fields = Field.Parse<T>(e => e.Field1).AsEnumerable();
Proposal:
The Field.Parse<T>() method must be modified to always return the IEnumerable<Field> (breaking changes) and must allow the parsing of multiple properties like below.
var fields = Field.Parse<T>(e => new { e.Field1, e.Field2, e.Field3, ... });
A request from a community. Currently, if you are using a
Fieldclass as the target fields for Query and/or a qualifiers for BulkOperations or etc, then you are calling following methods.In which it is literal and not compiler friendly. In addition, the Expression below only supports single property parsing.
Proposal:
The
Field.Parse<T>()method must be modified to always return theIEnumerable<Field>(breaking changes) and must allow the parsing of multiple properties like below.