Skip to content

Configure default QueryDSL customizers [DATACMNS-930] #1383

Open
@spring-projects-issues

Description

@spring-projects-issues

Kirill Voronin opened DATACMNS-930 and commented

It will be nice to be able to configure some common QuerydslBinderCustomizer s for each repository in one place, probably as a bean(s). For example one to query by any Date using range.

Currently I achieve this using an interface CommonCustomizer that is extended by all repos. But if I want to customize them further, then repo's customize method should include CommonCustomizer.super.customize(bindings, root) call. I wonder if it will be better/cleaner to have an annotation such as QuerydslPredicate(bindings=CommonCustomizer.class) but on a repo interface.

Does I miss something? Maybe even both configuration methods can be useful. If so, I can implement it with a little advice


No further details from DATACMNS-930

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions