Answer the question
In order to leave comments, you need to log in
How to make "in a smart way" the processing of the request by the search service?
there is a repository object with methods
- searchProducts
- searchStores
- getNearestShops
and so on
if there is a key-value - everything is simple, ?name=abc&city=London
but additional logic is needed that will determine how exactly to process the value of the input parameter
[{"key":"name","value":"London","type":"searchByLike"}, {"key":"price","value":"100","type":"greaterThan" } ]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question