Skip to content

The query functionality in QuerydslDataFetcher is currently limited to exact queries. Would it be possible to add a new feature for fuzzy queries? I can provide a pull request. #1133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zeng-alt opened this issue Feb 20, 2025 · 3 comments
Labels
status: feedback-provided Feedback has been provided status: waiting-for-triage An issue we've not yet triaged

Comments

@zeng-alt
Copy link

No description provided.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 20, 2025
@mp911de
Copy link
Member

mp911de commented Mar 13, 2025

Querydsl can be customized by providing a QuerydslBinderCustomizer to customize bindings. By default Querydsl queries are mapped to equals comparison. Our Spring Data documentation contains an example for customization. Let us know whether that helps.

@mp911de mp911de added the status: waiting-for-feedback We need additional information before we can continue label Mar 13, 2025
@zeng-alt
Copy link
Author

Customizing QuerydslBinderCustomizer for each entity is quite cumbersome since I have to define it individually for every entity. However, like queries are more common than equals queries. I hope to add a Fetcher to support like queries.

@zeng-alt
Copy link
Author

Or, it would be great to add more powerful functionality by enabling conditional queries that generate different conditions for different data types. For example, similar to https://querybuilder.js.org/, where GraphQL might not need condition groups but does require rules.

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: feedback-provided Feedback has been provided status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

3 participants