The community member is trying to reduce the number of results from a request from x amount to 3 within the expression editor of a collection. They mention that they would do it in the GraphQL request, but this is a child response item with no filtering.
Another community member suggests creating a collection and manually typing in [0, 1, 2], then the collection will loop over those and each iteration will use the current number to access the corresponding child in the original data. They mention that this will be made more intuitive with a future update.
The original community member responds with "Ah perfect Ty π", indicating that the suggested solution is helpful.
Maybe its a silly question but im trying to reduce a requests results down from x amount to 3 within the expression editor of a collection. can this be done. i would do it in the graphql request but this is a child response item with no filtering
I think you could create a collection and manually type in [0, 1, 2] then the collection will loop over those and each iteration you'd use the current number to access the corresponding child in the original data.