Skip to content

Updated to graphql-java 24.x #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repositories {
}

dependencies {
implementation "com.graphql-java:graphql-java:22.3"
implementation "com.graphql-java:graphql-java:24.1"

testImplementation "org.spockframework:spock-core:2.3-groovy-3.0"
testImplementation "org.codehaus.groovy:groovy:3.0.24"
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/graphql/scalars/datetime/DateTimeScalar.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
import static graphql.scalars.util.Kit.typeName;
import static java.time.format.DateTimeFormatter.ISO_LOCAL_DATE;
import static java.time.temporal.ChronoField.HOUR_OF_DAY;
import static java.time.temporal.ChronoField.MILLI_OF_SECOND;
import static java.time.temporal.ChronoField.MINUTE_OF_HOUR;
import static java.time.temporal.ChronoField.NANO_OF_SECOND;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

master was broken - this fixes a compilation problem

import static java.time.temporal.ChronoField.OFFSET_SECONDS;
import static java.time.temporal.ChronoField.SECOND_OF_MINUTE;

Expand All @@ -33,7 +33,9 @@ public final class DateTimeScalar {

public static final GraphQLScalarType INSTANCE;

private DateTimeScalar() {}
private DateTimeScalar() {
}

private static final DateTimeFormatter customOutputFormatter = getCustomDateTimeFormatter();

static {
Expand Down
Loading