diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 16e39476e..e04f2c0f8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,7 +29,7 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 - # Install node 14+ for running maven-semantic-release. + # Install node 18+ for running maven-semantic-release. - name: Use Node.js 18.X uses: actions/setup-node@v1 with: diff --git a/pom.xml b/pom.xml index 256ab3ab2..a2b50bf6c 100644 --- a/pom.xml +++ b/pom.xml @@ -331,7 +331,7 @@ com.graphql-java graphql-java - 11.0 + 17.4 diff --git a/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java b/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java index fe5d901ce..6c4032dc2 100644 --- a/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java +++ b/src/main/java/com/conveyal/gtfs/graphql/GraphQLGtfsSchema.java @@ -90,7 +90,12 @@ public class GraphQLGtfsSchema { .field(MapFetcher.field("description")) .build(); - private static final GraphQLScalarType stringList = new GraphQLScalarType("StringList", "List of Strings", new StringCoercing()); + private static final GraphQLScalarType stringList = GraphQLScalarType + .newScalar() + .name("StringList") + .description("List of Strings") + .coercing(new StringCoercing()) + .build(); // Represents GTFS Editor service exceptions. public static final GraphQLObjectType scheduleExceptionType = newObject().name("scheduleException")