Let's Build a Community of Programmers.
Subscribe Here👉 : https://goo.gl/HhwC5i
****************************************************************************************
In dynamic filtering, we define different filters for different services, according to need. So there exists the concept of dynamic filtering.
Suppose there are three fields: name, email, and id. We want to send two fields: name and email for the first service and name and phone for the second service.
But there is a limitation in dynamic filtering. We cannot configure the dynamic filtering directly in the bean. We need to start configuring filtering, where we are retrieving the values. To implement dynamic filtering, we use a class named MappingJacksonValue. If we look at the class definition, we found the filter method definition there.
Let's see how to implement dynamic filtering in our project.
****************************************************************************************