How do I setup graphql input to support advanced filter add on available on tables – Queries and Resources
Goal: I would like users to be able to use filter add on available on tables where data is retrieved from GraphQL.
Steps: I have setup a data table in Retool with source of data is a GraphQL query. I have enabled tooltip add on with Filter option. I understand the format of filter
that this option generates when you add rules and add groups. I am unsure as to what graphql input type would support this dynamic structure.
Details: GraphQL requires strict data types and I cannot use UNION in input data type. I would like to know how to setup input type that can represent JSON/object structure filter generates.
Read more here: Source link