Skip to content

Commit f9547f2

Browse files
author
etienne-sf
committed
Upgrade to the 1.10 version of the plugin
1 parent f16c331 commit f9547f2

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "com.graphql_java_generator.graphql-gradle-plugin" version "1.8.1"
2+
id "com.graphql_java_generator.graphql-gradle-plugin" version "1.10"
33
id 'java'
44
}
55

@@ -11,7 +11,7 @@ repositories {
1111
dependencies {
1212
// The graphql-java-runtime module agregates all dependencies for the generated code, including the plugin runtime
1313
// CAUTION: this version should be exactly the same as the graphql-gradle-plugin's version
14-
implementation "com.graphql-java-generator:graphql-java-runtime:1.8.1"
14+
implementation "com.graphql-java-generator:graphql-java-runtime:1.10"
1515
//implementation "org.apache.logging.log4j:log4j-slf4j-impl:2.12.1"
1616
implementation 'com.github.dozermapper:dozer-core:6.5.0'
1717
implementation 'io.reactivex.rxjava2:rxjava:2.2.19'

src/main/java/org/forum/server/jpa/BoardEntity.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
import javax.persistence.Id;
1010
import javax.persistence.Transient;
1111

12-
import com.graphql_java_generator.annotation.GraphQLNonScalar;
13-
1412
@Entity(name = "Board")
1513
public class BoardEntity {
1614

@@ -23,7 +21,6 @@ public class BoardEntity {
2321
boolean publiclyAvailable;
2422

2523
@Transient
26-
@GraphQLNonScalar(fieldName = "topics", graphQLTypeName = "Topic", javaClass = TopicEntity.class)
2724
List<TopicEntity> topics;
2825

2926
public UUID getId() {

0 commit comments

Comments
 (0)