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 1113345 commit 7c72ed5Copy full SHA for 7c72ed5
src/main/java/graphql/servlet/OsgiGraphQLServlet.java
@@ -38,7 +38,10 @@
38
import static graphql.schema.GraphQLSchema.newSchema;
39
40
@Slf4j
41
-@Component(property = {"alias=/graphql", "jmx.objectname=graphql.servlet:type=graphql"})
+@Component(
42
+ service=javax.servlet.http.HttpServlet.class,
43
+ property = {"alias=/graphql", "jmx.objectname=graphql.servlet:type=graphql"}
44
+)
45
public class OsgiGraphQLServlet extends GraphQLServlet {
46
47
private List<GraphQLQueryProvider> queryProviders = new ArrayList<>();
0 commit comments