It seems the endCursor and startCursor on plugins and themes is incorrectly returning the bas64encode value of arrayconnection:{path_to/plugin.php} instead of arrayconnection:{#} (which is what's required by the before/after params).
To replicate:
plugins(first:5){
pageInfo{
endCursor # arrayconnection:{path_to/plugin.php}
startCursor
}
notWorking: plugins(first:5, after: $endCursor ){ # expects arrayconnection:{#}
pageInfo{
endCursor
startCursor # arrayconnection:{path_to/plugin.php}
}
nodes { # returns []
name
}
}
WPGraphQL v1.6.4
WordPress: v5.8.1