space-cloud icon indicating copy to clipboard operation
space-cloud copied to clipboard

New join syntax requires fields of the root table to be present in the graphQL selection set

Open sharadregoti opened this issue 5 years ago • 0 comments

Describe the bug

If I join 2 tables, with the latest join syntax, If I don't query the fields of the root table & only query the fields of the joint table, I get the result as null.

Query without root table fields image Query with root table fields image

Expected behaviour

It should provide values for the joint table.

Actual behaviour

The values of the joint table are null

Steps to reproduce

Your environment

  • Space Cloud version:
  • OS:
  • Kubernetes or Docker:
  • The client api version (if applicable):
  • Browser (if applicable):

If this bug restricts your use of space-cloud, give it a thumbs up reaction, so that we can determine which bugs need to be fixed immediately. 👍

sharadregoti avatar Dec 07 '20 10:12 sharadregoti