Closed wa0x6e closed 1 month ago
Can we use two different queries, one for ranking and other for rest? Maybe switch it based existence of id_in
filter?
Can we use two different queries, one for ranking and other for rest? Maybe switch it based existence of
id_in
filter?
Done
Summary
Closes: #366 #373
This PR revert back the offchain spaces loading to use the
Space
endpoint, instead ofRanking
, due to them not being swappable, causing allloadSpaces
from offchain to always load the top X spaces, and not honoring theid_in
filter.This was causing:
This PR will use the
ranking
graphql endpoint only when noid_in
filter is passed toloadSpaces
, and used as extra, and not replacementHow to test