Filter GraphQL with Custom Fields #12630
-
Hello, I have created a Content Type "ContactUS" with custom fields "name, email", now I want to query the items with GraphQL filterd by my custom fields but I can only filter using the predefined properties. This is my query: But if I changed the filtration to be by displayText it works like below. How can I filter in GraphQL using my custom fields? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This is possible but not without development. You'd need to implement a For an alternative with SQL queries, see Content Field Indexing. |
Beta Was this translation helpful? Give feedback.
This is possible but not without development. You'd need to implement a
WhereInputObjectGraphType
for the field to be able to filter on it (see the OC source for samples, as well as this one).For an alternative with SQL queries, see Content Field Indexing.