How to pass in multiple QueryContext

Hello,

How can I pass in Multiple QueryContext in one call when sending in
await contentClient.GetAllAsync((x) =>
{
entities.Items.Add(x);
return Task.CompletedTask;
}, BATCH_SIZE, ctx, cancellationToken);

I want to be able to send QueryContext for: QueryContext.Default.Flatten(); and also send in QueryContext.Default.Unpublished(true);

for this one GetAllAsync call.

Hi,

you can just use

QueryContext.Default.Flatten().Unpublished(true);