Hi @krati_garg I tried putting _references inside items as per suggestion but it's showing an error message as "Validation error of type FieldUndefined: Field '_references' in type 'ProductModel' is undefined @ 'productList/items/_references'". The result of the query is expected and returns a single product as a result of the filter but with all the references without filtering. In below result you can see extra reference returning in the result.
{
"data": {
"productList": {
"items": [
{
"_path": "/content/dam/client/en/shared/products/offer/learn-and-conserve",
"tagLine": {
"html": "<p><a href=\"/content/dam/client/en/shared/products/footnotes/test-footnotes\">Test Footnotes</a> </p>\n"
}
}
],
"_references": [
{
"_path": "/content/dam/client/en/shared/products/footnotes/free-energy",
"title": "Free energy",
"description": {
"html": "<p>100% free energy are available for high use customer.</p>\n"
},
"__typename": "FootnoteModel"
},
{
"_path": "/content/dam/client/en/shared/products/footnotes/test-footnotes",
"title": "sdfsdf",
"description": {
"html": "<p>sdfsdfsdfsdfsdf</p>\n"
},
"__typename": "FootnoteModel"
}
]
}
}
}