graphql-engine/server/tests-py/queries/remote_schemas/remote_relationships/with_relay.yaml
Rakesh Emmadi c7ffd882d0
fix relay introspection when remote relationships are defined, fix #5144 (#5145)
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-06-24 19:25:50 +05:30

28 lines
635 B
YAML

# https://github.com/hasura/graphql-engine/issues/5144
description: Test remote relationships via relay endpoint
url: /v1/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'"