File tree Expand file tree Collapse file tree 3 files changed +45
-3
lines changed Expand file tree Collapse file tree 3 files changed +45
-3
lines changed Original file line number Diff line number Diff line change 1111 (
1212 regexp_match(
1313 comment_,
14- ' @graphql\( (.+? )\) '
14+ ' @graphql\( (.+)\) '
1515 )
1616 )[1 ]::jsonb,
1717 jsonb_build_object()
Original file line number Diff line number Diff line change 11select
22 graphql.comment_directive(
33 comment_ := '@graphql({"name": "myField"})'
4- )
4+ );
55 comment_directive
66---------------------
77 {"name": "myField"}
88(1 row)
99
10+ select
11+ graphql.comment_directive(
12+ comment_ := '@graphql({"name": "myField with (parentheses)"})'
13+ );
14+ comment_directive
15+ ----------------------------------------
16+ {"name": "myField with (parentheses)"}
17+ (1 row)
18+
19+ select
20+ graphql.comment_directive(
21+ comment_ := '@graphql({"name": "myField with a (starting parenthesis"})'
22+ );
23+ comment_directive
24+ --------------------------------------------------
25+ {"name": "myField with a (starting parenthesis"}
26+ (1 row)
27+
28+ select
29+ graphql.comment_directive(
30+ comment_ := '@graphql({"name": "myField with an ending parenthesis)"})'
31+ );
32+ comment_directive
33+ -------------------------------------------------
34+ {"name": "myField with an ending parenthesis)"}
35+ (1 row)
36+
Original file line number Diff line number Diff line change 11select
22 graphql .comment_directive (
33 comment_ := ' @graphql({"name": "myField"})'
4- )
4+ );
5+
6+ select
7+ graphql .comment_directive (
8+ comment_ := ' @graphql({"name": "myField with (parentheses)"})'
9+ );
10+
11+ select
12+ graphql .comment_directive (
13+ comment_ := ' @graphql({"name": "myField with a (starting parenthesis"})'
14+ );
15+
16+ select
17+ graphql .comment_directive (
18+ comment_ := ' @graphql({"name": "myField with an ending parenthesis)"})'
19+ );
You can’t perform that action at this time.
0 commit comments