Skip to content

remote execution fails when there are no hasura columns in the remote relationship #52

@tirumaraiselvan

Description

@tirumaraiselvan

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions