Error: Field 'productTypes' doesn't accept argument 'after'
is it possible that the after is not available for this specific query? Anyone has any workaround? The ironic thing is, if we remove after the query returns everything fine with cursors as well. hasNextPage always returns false no matter what is the return limit. So if I put a lesser limit it will return false as well.
Not sure what's going on here. Any help would be appreciated. Thanks!
From the error message, it seems like the after argument is not accepted by the productTypes query in your GraphQL schema. It's possible that this specific query does not support cursor-based pagination, or the pagination is implemented differently.
I see there is a possible return of StringConnection.pageInfo for which is intended to help with pagination on the productTypes field. Could you use this to paginate the returned data?