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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
465 B
YAML
Raw Normal View History

description: Simple Mixed GraphQL query with fragments
url: /v1/graphql
status: 200
response:
data:
profiles:
- id: 1
- id: 2
- id: 3
messages:
- id: 1
msg: You win!
- id: 2
msg: You lose!
- id: 3
msg: Another alice
query:
query: |
fragment basicInfo on Message {
id
msg
}
query {
profiles {
id
}
messages {
...basicInfo
}
}