[JAVA-15377] Update code for Graphql SPQR article
This commit is contained in:
3
graphql-modules/graphql-spqr-boot-starter/README.md
Normal file
3
graphql-modules/graphql-spqr-boot-starter/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
### Relevant Articles:
|
||||
|
||||
- [Getting Started With GraphQL SPQR and Spring Boot](https://www.baeldung.com/spring-boot-graphql-spqr)
|
||||
42
graphql-modules/graphql-spqr-boot-starter/pom.xml
Normal file
42
graphql-modules/graphql-spqr-boot-starter/pom.xml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>graphql-spqr-boot-starter</artifactId>
|
||||
<version>1.0</version>
|
||||
<name>graphql-spqr-boot-starter</name>
|
||||
|
||||
<parent>
|
||||
<groupId>com.baeldung.graphql</groupId>
|
||||
<artifactId>graphql-modules</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-webflux</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.leangen.graphql</groupId>
|
||||
<artifactId>graphql-spqr-spring-boot-starter</artifactId>
|
||||
<version>${graphql-spqr-spring-boot-starter-version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<graphql-spqr-spring-boot-starter-version>0.0.6</graphql-spqr-spring-boot-starter-version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
@@ -4,8 +4,8 @@ import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class SpringBootApp {
|
||||
public class SpqrBootStarterApp {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SpringBootApp.class, args);
|
||||
SpringApplication.run(SpqrBootStarterApp.class, args);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
public class Book {
|
||||
private Integer id;
|
||||
private String author;
|
||||
private String title;
|
||||
|
||||
public Book(Integer id, String author, String title) {
|
||||
this.id = id;
|
||||
this.author = author;
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public Book() {
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getAuthor() {
|
||||
return author;
|
||||
}
|
||||
|
||||
public void setAuthor(String author) {
|
||||
this.author = author;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o)
|
||||
return true;
|
||||
if (o == null || getClass() != o.getClass())
|
||||
return false;
|
||||
Book book = (Book) o;
|
||||
return id.equals(book.id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import io.leangen.graphql.annotations.GraphQLArgument;
|
||||
import io.leangen.graphql.annotations.GraphQLMutation;
|
||||
import io.leangen.graphql.annotations.GraphQLQuery;
|
||||
import io.leangen.graphql.spqr.spring.annotations.GraphQLApi;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
@Service
|
||||
@GraphQLApi
|
||||
public class BookService implements IBookService {
|
||||
|
||||
private static final Set<Book> BOOKS_DATA = initializeData();
|
||||
|
||||
@GraphQLQuery(name = "getBookWithTitle")
|
||||
public Book getBookWithTitle(@GraphQLArgument(name = "title") String title) {
|
||||
return BOOKS_DATA.stream()
|
||||
.filter(book -> book.getTitle().equals(title))
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
}
|
||||
|
||||
@GraphQLQuery(name = "getAllBooks", description = "Get all books")
|
||||
public List<Book> getAllBooks() {
|
||||
return new ArrayList<>(BOOKS_DATA);
|
||||
}
|
||||
|
||||
@GraphQLMutation(name = "addBook")
|
||||
public Book addBook(@GraphQLArgument(name = "newBook") Book book) {
|
||||
BOOKS_DATA.add(book);
|
||||
return book;
|
||||
}
|
||||
|
||||
@GraphQLMutation(name = "updateBook")
|
||||
public Book updateBook(@GraphQLArgument(name = "modifiedBook") Book book) {
|
||||
BOOKS_DATA.removeIf(b -> Objects.equals(b.getId(), book.getId()));
|
||||
BOOKS_DATA.add(book);
|
||||
return book;
|
||||
}
|
||||
|
||||
@GraphQLMutation(name = "deleteBook")
|
||||
public boolean deleteBook(@GraphQLArgument(name = "book") Book book) {
|
||||
return BOOKS_DATA.remove(book);
|
||||
}
|
||||
|
||||
private static Set<Book> initializeData() {
|
||||
Book book = new Book(1, "J.R.R. Tolkien", "The Lord of the Rings");
|
||||
Set<Book> books = new HashSet<>();
|
||||
books.add(book);
|
||||
return books;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface IBookService {
|
||||
Book getBookWithTitle(String title);
|
||||
|
||||
List<Book> getAllBooks();
|
||||
|
||||
Book addBook(Book book);
|
||||
|
||||
Book updateBook(Book book);
|
||||
|
||||
boolean deleteBook(Book book);
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import com.baeldung.SpqrBootStarterApp;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.test.web.reactive.server.WebTestClient;
|
||||
import reactor.core.publisher.Mono;
|
||||
|
||||
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;
|
||||
|
||||
@SpringBootTest(webEnvironment = RANDOM_PORT, classes = SpqrBootStarterApp.class)
|
||||
class SpqrBootStarterAppIntegrationTest {
|
||||
|
||||
private static final String GRAPHQL_PATH = "/graphql";
|
||||
|
||||
@Autowired
|
||||
private WebTestClient webTestClient;
|
||||
|
||||
@Test
|
||||
void whenGetAllBooks_thenValidResponseReturned() {
|
||||
String getAllBooksQuery = "{getAllBooks{ id title author }}";
|
||||
|
||||
webTestClient.post()
|
||||
.uri(GRAPHQL_PATH)
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.body(Mono.just(toJSON(getAllBooksQuery)), String.class)
|
||||
.exchange()
|
||||
.expectStatus().isOk()
|
||||
.expectBody()
|
||||
.jsonPath("$.data.getAllBooks").isNotEmpty();
|
||||
}
|
||||
|
||||
@Test
|
||||
void whenAddBook_thenValidResponseReturned() {
|
||||
String addBookMutation = "mutation { addBook(newBook: {id: 123, author: \"J. K. Rowling\", "
|
||||
+ "title: \"Harry Potter and Philosopher's Stone\"}) { id author title } }";
|
||||
|
||||
webTestClient.post()
|
||||
.uri(GRAPHQL_PATH)
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.body(Mono.just(toJSON(addBookMutation)), String.class)
|
||||
.exchange()
|
||||
.expectStatus().isOk()
|
||||
.expectBody()
|
||||
.jsonPath("$.data.addBook.id").isEqualTo("123")
|
||||
.jsonPath("$.data.addBook.title").isEqualTo("Harry Potter and Philosopher's Stone")
|
||||
.jsonPath("$.data.addBook.author").isEqualTo("J. K. Rowling");
|
||||
}
|
||||
|
||||
private static String toJSON(String query) {
|
||||
try {
|
||||
return new JSONObject().put("query", query).toString();
|
||||
} catch (JSONException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import com.baeldung.SpqrBootStarterApp;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest(classes = SpqrBootStarterApp.class)
|
||||
class SpringContextTest {
|
||||
|
||||
@Test
|
||||
void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
||||
}
|
||||
}
|
||||
@@ -13,19 +13,6 @@
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<!-- Boot version compatible with spqr-boot-starter -->
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>2.6.4</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
@@ -33,13 +20,24 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.leangen.graphql</groupId>
|
||||
<artifactId>graphql-spqr-spring-boot-starter</artifactId>
|
||||
<version>${graphql-spqr-spring-boot-starter-version}</version>
|
||||
<artifactId>spqr</artifactId>
|
||||
<version>${spqr-version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-webflux</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<graphql-spqr-spring-boot-starter-version>0.0.6</graphql-spqr-spring-boot-starter-version>
|
||||
<spqr-version>0.11.2</spqr-version>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import io.leangen.graphql.annotations.GraphQLArgument;
|
||||
import io.leangen.graphql.annotations.GraphQLMutation;
|
||||
import io.leangen.graphql.annotations.GraphQLQuery;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Profile;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class BookResolver {
|
||||
|
||||
@Autowired
|
||||
IBookService bookService;
|
||||
|
||||
@GraphQLQuery(name = "getBookWithTitle")
|
||||
public Book getBookWithTitle(@GraphQLArgument(name = "title") String title) {
|
||||
return bookService.getBookWithTitle(title);
|
||||
}
|
||||
|
||||
@GraphQLQuery(name = "getAllBooks", description = "Get all books")
|
||||
public List<Book> getAllBooks() {
|
||||
return bookService.getAllBooks();
|
||||
}
|
||||
|
||||
@GraphQLMutation(name = "addBook")
|
||||
public Book addBook(@GraphQLArgument(name = "newBook") Book book) {
|
||||
return bookService.addBook(book);
|
||||
}
|
||||
|
||||
@GraphQLMutation(name = "updateBook")
|
||||
public Book updateBook(@GraphQLArgument(name = "modifiedBook") Book book) {
|
||||
return bookService.updateBook(book);
|
||||
}
|
||||
|
||||
@GraphQLMutation(name = "deleteBook")
|
||||
public void deleteBook(@GraphQLArgument(name = "book") Book book) {
|
||||
bookService.deleteBook(book);
|
||||
}
|
||||
}
|
||||
@@ -1,51 +1,53 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import io.leangen.graphql.annotations.GraphQLArgument;
|
||||
import io.leangen.graphql.annotations.GraphQLMutation;
|
||||
import io.leangen.graphql.annotations.GraphQLQuery;
|
||||
import io.leangen.graphql.spqr.spring.annotations.GraphQLApi;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@Service
|
||||
@GraphQLApi
|
||||
public class BookService implements IBookService {
|
||||
|
||||
Set<Book> books = new HashSet<>();
|
||||
private static final Set<Book> BOOKS_DATA = initializeData();
|
||||
|
||||
@GraphQLQuery(name = "getBookWithTitle")
|
||||
public Book getBookWithTitle(@GraphQLArgument(name = "title") String title) {
|
||||
return books.stream()
|
||||
.filter(book -> book.getTitle()
|
||||
.equals(title))
|
||||
@Override
|
||||
public Book getBookWithTitle(String title) {
|
||||
return BOOKS_DATA.stream()
|
||||
.filter(book -> book.getTitle().equals(title))
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
}
|
||||
|
||||
@GraphQLQuery(name = "getAllBooks", description = "Get all books")
|
||||
@Override
|
||||
public List<Book> getAllBooks() {
|
||||
return books.stream().collect(Collectors.toList());
|
||||
return new ArrayList<>(BOOKS_DATA);
|
||||
}
|
||||
|
||||
@GraphQLMutation(name = "addBook")
|
||||
public Book addBook(@GraphQLArgument(name = "newBook") Book book) {
|
||||
books.add(book);
|
||||
@Override
|
||||
public Book addBook(Book book) {
|
||||
BOOKS_DATA.add(book);
|
||||
return book;
|
||||
}
|
||||
|
||||
@GraphQLMutation(name = "updateBook")
|
||||
public Book updateBook(@GraphQLArgument(name = "modifiedBook") Book book) {
|
||||
books.remove(book);
|
||||
books.add(book);
|
||||
@Override
|
||||
public Book updateBook(Book book) {
|
||||
BOOKS_DATA.removeIf(b -> Objects.equals(b.getId(), book.getId()));
|
||||
BOOKS_DATA.add(book);
|
||||
return book;
|
||||
}
|
||||
|
||||
@GraphQLMutation(name = "deleteBook")
|
||||
public boolean deleteBook(@GraphQLArgument(name = "book") Book book) {
|
||||
return books.remove(book);
|
||||
@Override
|
||||
public boolean deleteBook(Book book) {
|
||||
return BOOKS_DATA.remove(book);
|
||||
}
|
||||
}
|
||||
|
||||
private static Set<Book> initializeData() {
|
||||
Book book = new Book(1, "J.R.R. Tolkien", "The Lord of the Rings");
|
||||
Set<Book> books = new HashSet<>();
|
||||
books.add(book);
|
||||
return books;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import graphql.ExecutionResult;
|
||||
import graphql.GraphQL;
|
||||
import graphql.GraphQLException;
|
||||
import graphql.schema.GraphQLSchema;
|
||||
import io.leangen.graphql.GraphQLSchemaGenerator;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Profile;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.Map;
|
||||
|
||||
@RestController
|
||||
public class GraphqlController {
|
||||
|
||||
private final GraphQL graphQL;
|
||||
|
||||
@Autowired
|
||||
public GraphqlController(BookResolver bookResolver) {
|
||||
GraphQLSchema schema = new GraphQLSchemaGenerator()
|
||||
.withBasePackages("com.baeldung")
|
||||
.withOperationsFromSingleton(bookResolver)
|
||||
.generate();
|
||||
this.graphQL = new GraphQL.Builder(schema).build();
|
||||
}
|
||||
|
||||
@PostMapping(value = "/graphql")
|
||||
public Map<String, Object> execute(@RequestBody Map<String, String> request, HttpServletRequest raw) throws GraphQLException {
|
||||
ExecutionResult result = graphQL.execute(request.get("query"));
|
||||
return result.getData();
|
||||
}
|
||||
}
|
||||
@@ -12,4 +12,4 @@ public interface IBookService {
|
||||
Book updateBook(Book book);
|
||||
|
||||
boolean deleteBook(Book book);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class SpqrApp {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SpqrApp.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.test.web.reactive.server.WebTestClient;
|
||||
import reactor.core.publisher.Mono;
|
||||
|
||||
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT;
|
||||
|
||||
@SpringBootTest(webEnvironment = RANDOM_PORT, classes = SpqrApp.class)
|
||||
class SpqrAppIntegrationTest {
|
||||
|
||||
private static final String GRAPHQL_PATH = "/graphql";
|
||||
|
||||
@Autowired
|
||||
private WebTestClient webTestClient;
|
||||
|
||||
@Test
|
||||
void whenGetAllBooks_thenValidResponseReturned() {
|
||||
String getAllBooksQuery = "{getAllBooks{ id title author }}";
|
||||
|
||||
webTestClient.post()
|
||||
.uri(GRAPHQL_PATH)
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.body(Mono.just(toJSON(getAllBooksQuery)), String.class)
|
||||
.exchange()
|
||||
.expectStatus().isOk()
|
||||
.expectBody()
|
||||
.jsonPath("$.getAllBooks").isNotEmpty();
|
||||
}
|
||||
|
||||
@Test
|
||||
void whenAddBook_thenValidResponseReturned() {
|
||||
String addBookMutation = "mutation { addBook(newBook: {id: 123, author: \"J. K. Rowling\", "
|
||||
+ "title: \"Harry Potter and Philosopher's Stone\"}) { id author title } }";
|
||||
|
||||
webTestClient.post()
|
||||
.uri(GRAPHQL_PATH)
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.body(Mono.just(toJSON(addBookMutation)), String.class)
|
||||
.exchange()
|
||||
.expectStatus().isOk()
|
||||
.expectBody()
|
||||
.jsonPath("$.addBook.id").isEqualTo("123")
|
||||
.jsonPath("$.addBook.title").isEqualTo("Harry Potter and Philosopher's Stone")
|
||||
.jsonPath("$.addBook.author").isEqualTo("J. K. Rowling");
|
||||
}
|
||||
|
||||
private static String toJSON(String query) {
|
||||
try {
|
||||
return new JSONObject().put("query", query).toString();
|
||||
} catch (JSONException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.baeldung.spqr;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest(classes = SpqrApp.class)
|
||||
class SpringContextTest {
|
||||
|
||||
@Test
|
||||
void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
||||
}
|
||||
}
|
||||
@@ -11,15 +11,28 @@
|
||||
|
||||
<parent>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-boot-2</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<relativePath>../parent-boot-2</relativePath>
|
||||
<artifactId>parent-modules</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<!-- Boot version compatible with spqr-boot-starter -->
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>2.6.4</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<modules>
|
||||
<module>graphql-dgs</module>
|
||||
<module>graphql-java</module>
|
||||
<module>graphql-spqr</module>
|
||||
<module>graphql-spqr-boot-starter</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user