File tree 4 files changed +68
-3
lines changed
4 files changed +68
-3
lines changed Original file line number Diff line number Diff line change 22
22
"contributors" : [
23
23
{
24
24
"name" : " Mayank Agarwal (@Mayank1791989)" ,
25
- "url" : " github.com/Mayank1791989" ,
25
+ "url" : " https:// github.com/Mayank1791989" ,
26
26
27
27
}
28
28
],
115
115
"embeddedLanguages" : {
116
116
"meta.embedded.block.graphql" : " graphql"
117
117
}
118
+ },
119
+ {
120
+ "injectTo" : [
121
+ " text.gherkin.feature"
122
+ ],
123
+ "scopeName" : " text.gherkin.feature.graphql" ,
124
+ "path" : " ./syntaxes/graphql.feature.json"
118
125
}
119
126
],
120
127
"snippets" : [
Original file line number Diff line number Diff line change
1
+ {
2
+ "fileTypes" : [" feature" ],
3
+ "scopeName" : " text.gherkin.feature.graphql" ,
4
+ "injectionSelector" : " L:text -comment" ,
5
+ "patterns" : [
6
+ {
7
+ "begin" : " graphql request\\ s*$" ,
8
+ "patterns" : [
9
+ {
10
+ "begin" : " ^\\ s*(\"\"\" )$" ,
11
+ "beginCaptures" : {
12
+ "1" : { "name" : " string.quoted.double.graphql.begin" }
13
+ },
14
+ "end" : " ^\\ s*(\"\"\" )$" ,
15
+ "endCaptures" : {
16
+ "1" : { "name" : " string.quoted.double.graphql.end" }
17
+ },
18
+ "patterns" : [
19
+ { "include" : " source.graphql" }
20
+ ]
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "begin" : " ^\\ s*(\"\"\" )\\ s*(#graphql)\\ s*$" ,
26
+ "beginCaptures" : {
27
+ "1" : { "name" : " string.quoted.double.graphql.begin" },
28
+ "2" : { "name" : " comment.line.graphql.js" }
29
+ },
30
+ "end" : " ^\\ s*(\"\"\" )$" ,
31
+ "endCaptures" : {
32
+ "1" : { "name" : " string.quoted.double.graphql.end" }
33
+ },
34
+ "patterns" : [
35
+ { "include" : " source.graphql" }
36
+ ]
37
+ }
38
+ ]
39
+ }
Original file line number Diff line number Diff line change 73
73
"begin" : " \\ s*\\ b(implements)\\ b\\ s*" ,
74
74
"end" : " \\ s*(?={)" ,
75
75
"beginCaptures" : {
76
- "1" : { "name" : " keyword.implements.graphql.RRR " }
76
+ "1" : { "name" : " keyword.implements.graphql" }
77
77
},
78
78
"patterns" : [
79
79
{
80
80
"match" : " \\ s*([_A-Za-z][_0-9A-Za-z]*)" ,
81
81
"captures" : {
82
- "1" : { "name" : " support.type.graphql.XXX " }
82
+ "1" : { "name" : " support.type.graphql" }
83
83
}
84
84
},
85
85
{ "include" : " #graphql-comma" }
Original file line number Diff line number Diff line change
1
+ Scenario : Logs a user into the system using username
2
+ When I make a graphql request
3
+ """
4
+ mutation {
5
+ UserLogin(input: {username: "foo"}) {
6
+ clientMutationId
7
+ }
8
+ }
9
+ """
10
+
11
+ Scenario : Logs a user into the system using username
12
+ When I send this mutation
13
+ """ #graphql
14
+ mutation {
15
+ UserLogin(input: {username: "foo"}) {
16
+ clientMutationId
17
+ }
18
+ }
19
+ """
You can’t perform that action at this time.
0 commit comments