You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing GraphQL filter input currently only allows users to filter
by fields directly on the underlying table being filtered. This PR
improves the filter input by allowing users to search by relationships
as well. In other words, it's now possible to answer queries like "give
me the list of builds which have a test named xyz". These filters can be
infinitely nested, essentially giving users the ability to query
anything in the CDash database, subject to access control limitations.
This is an extremely powerful capability which will enable improvements
to existing pages, brand new pages which were not previously possible,
and 3rd-party extensions using the API.
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+14-4Lines changed: 14 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -193,12 +193,12 @@ parameters:
193
193
194
194
-
195
195
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\ListTypeNode\\|GraphQL\\\\Language\\\\AST\\\\NamedTypeNode\\|GraphQL\\\\Language\\\\AST\\\\NonNullTypeNode\\:\\:\\$name\\.$#"
196
-
count: 1
196
+
count: 4
197
197
path: app/GraphQL/Directives/FilterDirective.php
198
198
199
199
-
200
200
message: "#^Access to an undefined property GraphQL\\\\Language\\\\AST\\\\ListTypeNode\\|GraphQL\\\\Language\\\\AST\\\\NamedTypeNode\\|GraphQL\\\\Language\\\\AST\\\\NonNullTypeNode\\:\\:\\$type\\.$#"
201
-
count: 1
201
+
count: 4
202
202
path: app/GraphQL/Directives/FilterDirective.php
203
203
204
204
-
@@ -231,19 +231,29 @@ parameters:
231
231
count: 1
232
232
path: app/GraphQL/Directives/FilterDirective.php
233
233
234
+
-
235
+
message: "#^Method App\\\\GraphQL\\\\Directives\\\\FilterDirective\\:\\:handleBuilder\\(\\) never returns Illuminate\\\\Database\\\\Query\\\\Builder so it can be removed from the return type\\.$#"
236
+
count: 1
237
+
path: app/GraphQL/Directives/FilterDirective.php
238
+
234
239
-
235
240
message: "#^Parameter \\#1 \\$array of function array_key_first expects array, mixed given\\.$#"
236
241
count: 1
237
242
path: app/GraphQL/Directives/FilterDirective.php
238
243
244
+
-
245
+
message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, array\\<string, GraphQL\\\\Language\\\\AST\\\\Node&GraphQL\\\\Language\\\\AST\\\\TypeDefinitionNode\\>\\|GraphQL\\\\Language\\\\AST\\\\NodeList\\<GraphQL\\\\Language\\\\AST\\\\Node&GraphQL\\\\Language\\\\AST\\\\TypeDefinitionNode\\> given\\.$#"
246
+
count: 1
247
+
path: app/GraphQL/Directives/FilterDirective.php
248
+
239
249
-
240
250
message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, mixed given\\.$#"
0 commit comments