Warning, /frameworks/syntax-highlighting/autotests/folding/highlight.graphql.fold is written in an unsupported language. File is not indexed.
0001 # Examples taken from https://graphql.org/learn/schema/#type-language 0002 # 0003 # Alerts: TODO FIXME 0004 0005 query Hero($episode: Episode, $withFriends: Boolean!) <beginfold id='1'>{</beginfold id='1'> 0006 hero(episode: $episode) <beginfold id='1'>{</beginfold id='1'> 0007 name 0008 friends @include(if: $withFriends) <beginfold id='1'>{</beginfold id='1'> 0009 <endfold id='1'>}</endfold id='1'> 0010 <endfold id='1'>}</endfold id='1'> 0011 <endfold id='1'>}</endfold id='1'> 0012 0013 query <beginfold id='1'>{</beginfold id='1'> 0014 droid(id: "2000", num: 42, active: true) <beginfold id='1'>{</beginfold id='1'> 0015 name 0016 <endfold id='1'>}</endfold id='1'> 0017 <endfold id='1'>}</endfold id='1'> 0018 0019 type Person @addExternalFields(source: "profiles") @excludeField(name: "photo") <beginfold id='1'>{</beginfold id='1'> 0020 name: String 0021 <endfold id='1'>}</endfold id='1'> 0022 0023 # block strings (from https://github.com/graphql/graphql-spec/blob/master/spec/Section%202%20--%20Language.md) 0024 0025 """ 0026 This starts with and ends with an empty line, 0027 which makes it easier to read. 0028 """ 0029 0030 """This does not start with or end with any empty lines, 0031 which makes it a little harder to read."""