graphql-engine
graphql-engine copied to clipboard
Multiple remote relations in one query return all relations to null when only one is null
Version Information
Server Version: v2.3.0
Environment
OSS
What is the expected behaviour?
When a remote schema relation is null the others remote schema relations need to return their value
Keywords
Multiple remote schema relation in one query
What is the current behaviour?
When a remote schema relation is null the others remote schema relations are set to null even if they are not.
How to reproduce the issue?
- Add one remote relation with token_one as join key
- Add a second remote relation with token_two as join key
- Set token_two to null and token_one to a working value
- Query one model with these two relations.
- Relation one return null instead to return its value. If you try to query without relation two it return correctly a value