Skip to content

How is operationDomain used in filtering? #221

Answered by edobrb
Atlinx asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you are correct.

This is how the filter is built:

const domainFilters = operationSecurityDomain && Object.keys(operationSecurityDomain).length > 0 ? { $and: Object.entries(operationSecurityDomain).map(([k, v]) => ({ [k]: { in: v } })) } : null

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Atlinx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants