graphql-engine/server/tests-py/queries/remote_schemas/remote_relationships/with_relay.yaml
Rakesh Emmadi 2fe353a294
allow array relation connection fields regardless of aggregation permission & change relay endpoint to '/v1beta1/relay' (fix #5218) (#5257)
* fix error when array relation connections are queried, fix #5218

* change relay endpoint to '/v1beta1/relay'

* Update CHANGELOG.md

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-07-03 12:00:35 +05:30

28 lines
640 B
YAML

# https://github.com/hasura/graphql-engine/issues/5144
description: Test remote relationships via relay endpoint
url: /v1beta1/relay
status: 200
query:
query: |
query {
profiles_connection{
edges{
node{
id
name
messageBasic {
id
msg
name
}
}
}
}
}
response:
errors:
- extensions:
path: $.selectionSet.profiles_connection.selectionSet.edges.selectionSet.node.selectionSet.messageBasic
code: validation-failed
message: "field \"messageBasic\" not found in type: 'profiles'"