Answer the question
In order to leave comments, you need to log in
How to filter search results?
there is such an endpoint
I am new to graphql and just sat down to learn. Here's what's in the documentation regarding filtering. but I can't apply it because I see only one available function (or whatever it's called, I don't know yet) getBoats
but not the collection itself to apply the filter and pagination. Is it even possible on this enpoint? Or do I need to knock out everything and filter already on the client?
Thank you
Answer the question
In order to leave comments, you need to log in
All this schema provides is a query with an active: true/false filter. Example:
{
getBoats(input: { active: true }) {
id
name
price
imageUrl
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question