We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e171123 commit 142ab01Copy full SHA for 142ab01
javascript/ql/lib/semmle/javascript/frameworks/ApolloGraphQL.qll
@@ -42,10 +42,7 @@ private module Apollo {
42
43
/** A string that is interpreted as a GraphQL query by a `graphql` package. */
44
private class ApolloServer extends ApolloGraphQL::ApolloGraphQLServer {
45
- ApolloServer() {
46
- this = apollo().getAnInstantiation()
47
- // or this = apollo().getAnInstantiation().getOptionArgument(0, "cors")
48
- }
+ ApolloServer() { this = apollo().getAnInstantiation() }
49
50
predicate isPermissive() {
51
this.(DataFlow::NewNode)
0 commit comments