0

I have got a custom Graphql server running in a separate server and I wanted to include a query from it to Hasura with the remote schema feature. I've created the remote schema and it is working well but I also needed to create an array relationship between the response in the remote schema query to a table in Postgres.

Currently, It is returning an error below. { "errors": [ { "extensions": { "code": "data-exception", "path": "$" }, "message": "invalid input syntax for type integer: "["36", "37", "38", "39", "40", "41", "42", "43"]"" } ] }

What should be the response from the remote schema query to To get the related entries from the database with the list of ids returned from the remote schema query response?

enter image description here

Mikias Abebe
  • 149
  • 2
  • 6
  • Need to know the definition of remote-relationship itself to understand this question better. If I am guessing the remote relationship correctly, using {id: _in: fieldIds} boolean expression should be enough. – Nizar M Oct 01 '22 at 04:53

0 Answers0