Graphql-engine: remote schema to table joins

Created on 17 Sep 2020  路  5Comments  路  Source: hasura/graphql-engine

Hey, I expected the remote joins to support responses as well and not just arguments of an query. Will this be supported in the future?

One of my remote schemas responses contains the userId, which I would like to join with the "user" table, so that on the response someone could also query the user object.

remote-joins enhancement

All 5 comments

This might cause a circular reference. It's explained here https://github.com/hasura/graphql-engine/issues/2494#issuecomment-675498002

This is remote schema to db join which is part of the roadmap and will be possible soon (Action relationships are kind of similar btw).

Great, thank you :)
Is there a rough a ETA on when that feature will arrive?

Just want to clarify that this is a sort of 'right join' where a remote schema can return a key then hasura will look up that key and return the data? The opposite of current remote join where hasura sends key and remote schema resolves, this would allow remote schema to pass key back to hasura and hasura would resolve? Beacuse that would be amazing

Looking forward to this feature

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sachaarbonel picture sachaarbonel  路  3Comments

leoalves picture leoalves  路  3Comments

stereobooster picture stereobooster  路  3Comments

tirumaraiselvan picture tirumaraiselvan  路  3Comments

bogdansoare picture bogdansoare  路  3Comments