graphql-engine/server/tests-py/queries/remote_schemas/remote_relationships/basic_array.yaml

38 lines
706 B
YAML
Raw Normal View History

description: Array remote relationship GraphQL query
url: /v1/graphql
status: 200
response:
data:
profiles:
- id: 1
name: alice
messagesNestedArr:
- name: alice
msg: You win!
- name: alice
msg: Another alice
- id: 2
name: bob
messagesNestedArr:
- name: bob
msg: You lose!
- id: 3
name: alice
messagesNestedArr:
- name: alice
msg: You win!
- name: alice
msg: Another alice
query:
query: |
query {
profiles {
id
name
messagesNestedArr {
name
msg
}
}
}