This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/graphql/ex06_fragments1.graphql
mazza 2401866e5a
Add support for GraphQL (#2428)
Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
2023-05-14 11:29:03 +02:00

16 lines
231 B
GraphQL

{
leftComparison: hero(episode: EMPIRE) {
...comparisonFields
}
rightComparison: hero(episode: JEDI) {
...comparisonFields
}
}
fragment comparisonFields on Character {
name
appearsIn
friends {
name
}
}