mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-20 22:11:45 +03:00
c0d2bc6653
add remote joins: Create relationships across database and remote schemas (#2392) Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com> Co-authored-by: Chris Done <chrisdone@gmail.com> Co-authored-by: Chris Done <github@chrisdone.com> Co-authored-by: wawhal <rishichandra.wawhal@gmail.com> Co-authored-by: Aravind Shankar <aravind@hasura.io> Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com> Co-authored-by: Rishichandra Wawhal <rishi@hasura.io> Co-authored-by: Brandon Simmons <brandon@hasura.io> Co-authored-by: nizar-m <19857260+nizar-m@users.noreply.github.com> Co-authored-by: Praveen Durairaju <praveend.web@gmail.com> Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com> Co-authored-by: Anon Ray <rayanon004@gmail.com> Co-authored-by: Shahidh K Muhammed <shahidh@hasura.io> Co-authored-by: soorajshankar <soorajshankar@users.noreply.github.com> Co-authored-by: Sooraj Sanker <sooraj@Soorajs-MacBook-Pro.local> Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io> Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
38 lines
706 B
YAML
38 lines
706 B
YAML
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
|
|
}
|
|
}
|
|
}
|