Inferencer customize query
Hello! Can someone please tell me how I can customize the request in the Inferencer for graphql query, how can i specified variables like "where" or "sort"



meta property in the Inferencer component. The meta property allows you to define values for your resources and methods in a single prop, and it is used when generating the code and inferring the fields. meta values in Inferencer components:default is the default meta value for all the methods. If a specific meta value for a method for a resource is not provided, the default value will be used.getList method for the resource will only fetch the fields id, title, content, category_id, and . For the resource, the default method will fetch the fields id and title.Note: you can ask me a follow up question by @ mentioning me again useExport, , and all accept a filters property that can be used to send filter query parameters to the API. Here's an example usage with :getList method from the will be called with the provided filters.Note: you can ask me a follow up question by @ mentioning me again 





postscreated_atcategoriescustomcustomcustomcustomuseListuseListuseInfiniteListuseAutocompleteuseSelectdataProviderdataProviderdataProvideruseCustomlistpermanent<AntdListInferencer
meta={{
[resourceNameOrIdentifier: string]: {
[methodName: "default" | "getList" | "getMany" | "getOne" | "update"]: Record<string, unknown>,
}
}}
/> <AntdListInferencer
meta={{
posts: {
getList: {
fields: [
"id",
"title",
"content",
"category_id",
"created_at",
],
},
},
categories: {
default: {
fields: ["id", "title"],
},
},
}}
/> useList({
filters: [
{
field: "title",
operator: "contains",
value: "Foo",
},
],
}); useCustom({
config: {
filters: [
{
field: "title",
operator: "contains",
value: "Foo",
},
],
},
});