Choose what field you want to search on via @searchable

  • 29 March 2022
  • 0 replies
  • 20 views

The @searchable field is a great addition! Fundamental for certain

The final point to make it usable for us will be to allow the user to select what searchable field they want to be able to filter on.

 

e.g. given the schema

type Equipment {
  name: String @searchable @filterable
  description: String @searchable @filterable

}
 

Its very common that the user will know that they want to search on specifically name or description.

 


0 replies

Be the first to reply!

Reply