-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
keploy/samples-java
#120Labels
Description
👀 Is there an existing feature request for this?
- I have searched the existing issues
🔖 Enhancement description
Problem
The current
getBookByName
query only supports exact name matches. If a user doesn't know the full title of a book, they cannot find it easily.
Proposed Solution
Implement a search query that supports partial name matching using SQL LIKE.
Repository: Add List findByNameContainingIgnoreCase(String name).
GraphQL Schema:
graphql
extend type Query {
searchBooks(title: String!): [Book]
}
Controller: Link the query to the new repository method.
🎤 Why should this be worked on?
Significantly improves user search experience.
Handles case-insensitivity automatically.
💻 Repository spring-boot-postgres-graphql
💻 Repository
keploy
GDG CHARUSAT TEAM : T137
Reactions are currently unavailable