Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

PartialFields in request, limiting fields on nested objects

$
0
0

Hey!

I'm trying to build a way to do projections without having to call .Select() on a query. Just adding to the Fields array on the request body works nicely. But in some cases a property is a list of objects, and I'd like to be able to limit the fields sent back from such entities.

But I can't quite figure out how. From what I can tell the built-in projections using .Select() generates an include of "FieldName.*" no matter which nested fields are used in the mapping.

Is this possible to do?


Viewing all articles
Browse latest Browse all 6894

Trending Articles