I'm building a basic translation app for myself using ChatGPT.
I'm currently using GraphQL to fetch product translations doing some basic testing but I'm too new with GraphQL and I have a quesiton: How can I fetch the LAST 10 products created instead of the first 10? Also is there a way to add a filter to fetch only the translations that are outdated?
Specifically for translatableResources, using reverse:true will reverse the order of the underlying list.
ChatGPT can be a really great tool to help you build your graphQL queries, but just a fair warning that it does often make up queries that don't work or don't exist. Pro-tip, Copy and pasting the relevant documentation before asking it to build a query can be helpful to give it more specific context and get more accurate answers 🙂
To help get up to speed on GraphQL as well, we have a really great workshop here that walks through it. This can give you the fundamentals so you can more easily spot when chatGPT is making things up, and to help better navigate our developer documents!
Great to hear you're creating a new app with ChatGPT! Your query is on the right track to fetch the last 10 products with `translatableResources`, but the `reverse` argument only accepts a boolean so that should be set to `true` rather than `yes`.