Skip to content

Limitations on pagination & filtering #126

Answered by hrajchert
FranZavalla asked this question in Q&A
Discussion options

You must be logged in to vote

Filtering can be done either in the Frontend or the Backend, the issue that you mention happens when the filtering is done on the Frontend.

At the moment the filtering capabilities of the getContracts method are quite limited. For example, when you provide multiple tags, the filter behaviour is to see if a contract has tag A OR tag B. If you want to do AND logic instead, for the moment you need to pass both tags and do additional filtering in the front.

We are thinking on how we could extend the filtering capabilities. One alternative could be to use a query DSL that works with query parameters, another could be to create a GraphQL service, but we need more feedback from different use cas…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FranZavalla
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