2021-11-24 19:21:59 +03:00
|
|
|
- description: Articles with their author (in outher data source)
|
|
|
|
url: /v1/graphql
|
|
|
|
status: 200
|
|
|
|
response:
|
|
|
|
data:
|
2022-02-14 09:22:11 +03:00
|
|
|
hasura_article2:
|
2021-11-24 19:21:59 +03:00
|
|
|
- id: '1'
|
|
|
|
title: Title 1
|
|
|
|
content: Content 1
|
|
|
|
author:
|
|
|
|
id: '1'
|
|
|
|
name: Author 1
|
|
|
|
- id: '2'
|
|
|
|
title: Title 2
|
|
|
|
content: Content 2
|
|
|
|
author:
|
|
|
|
id: '1'
|
|
|
|
name: Author 1
|
|
|
|
- id: '3'
|
|
|
|
title: Title 3
|
|
|
|
content: Content 3
|
|
|
|
author:
|
|
|
|
id: '2'
|
|
|
|
name: Author 2
|
2022-01-17 13:01:25 +03:00
|
|
|
- id: '4'
|
|
|
|
title: Title 4
|
|
|
|
content: Content 4
|
|
|
|
author:
|
|
|
|
id: '2'
|
|
|
|
name: Author 2
|
2021-11-24 19:21:59 +03:00
|
|
|
query:
|
|
|
|
query: |
|
|
|
|
query {
|
2022-02-14 09:22:11 +03:00
|
|
|
hasura_article2 (order_by: {id: asc}) {
|
2021-11-24 19:21:59 +03:00
|
|
|
id
|
|
|
|
title
|
|
|
|
content
|
|
|
|
author {
|
|
|
|
id
|
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
- description: Author with their articles with (in other data source)
|
|
|
|
url: /v1/graphql
|
|
|
|
status: 200
|
|
|
|
response:
|
|
|
|
data:
|
2022-02-14 09:22:11 +03:00
|
|
|
hasura_author:
|
2021-11-24 19:21:59 +03:00
|
|
|
- id: '1'
|
|
|
|
name: Author 1
|
|
|
|
articles2:
|
|
|
|
- id: '1'
|
|
|
|
title: Title 1
|
|
|
|
content: Content 1
|
|
|
|
- id: '2'
|
|
|
|
title: Title 2
|
|
|
|
content: Content 2
|
|
|
|
- id: '2'
|
|
|
|
name: Author 2
|
|
|
|
articles2:
|
|
|
|
- id: '3'
|
|
|
|
title: Title 3
|
|
|
|
content: Content 3
|
2022-01-17 13:01:25 +03:00
|
|
|
- id: '4'
|
|
|
|
title: Title 4
|
|
|
|
content: Content 4
|
2021-11-24 19:21:59 +03:00
|
|
|
query:
|
|
|
|
query: |
|
|
|
|
query {
|
2022-02-14 09:22:11 +03:00
|
|
|
hasura_author (order_by: {id: asc}) {
|
2021-11-24 19:21:59 +03:00
|
|
|
id
|
|
|
|
name
|
|
|
|
articles2(order_by: {id: asc}) {
|
|
|
|
id
|
|
|
|
title
|
|
|
|
content
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|