io.leangen.graphql.spqr.spring.web.mvc.DefaultGraphQLController Maven / Gradle / Ivy
The newest version!
package io.leangen.graphql.spqr.spring.web.mvc;
import graphql.GraphQL;
import io.leangen.graphql.spqr.spring.web.GraphQLController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.context.request.NativeWebRequest;
@RestController
@CrossOrigin
public class DefaultGraphQLController extends GraphQLController {
@Autowired
public DefaultGraphQLController(GraphQL graphQL, GraphQLMvcExecutor executor) {
super(graphQL, executor);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy