Right now, the repositories are bound to a specific entity view type that is defined statically.
Since one of the nice things about entity views is, that the type, filters and sortings can be dynamically defined by the client, we should also allow passing in the entire EntityViewSetting object or maybe even just subsets of it into a repository via parameters.
The text was updated successfully, but these errors were encountered:
I understand the idea but I think that spring data repositories is very static by nature and I am not sure if there is much to gain for the users if we allow more dynamicity. After all, the user can always fall back to using the CriteriaBuilder directly which provides access to the full set of features. I rather see the spring data integration as a nice tool to quickly have the most commonly used data access methods at hand without writing a lot of code.