For e.g. suppose we create a relationship with only static values, then no remote query is generated. If we add a hasura column in the API (but not use it in the join), then it works.
This is because of the function peelRemoteKeys here:
|
(neededHasuraFields (rrRemoteField remoteRelField)) |
neededHasuraFields is actually an empty array and this is used here for creating a Batch:
|
(fmap peelRemoteKeys keyedRemotes) |