Skip to content
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
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
run: sudo apt install graphviz

- name: build with maven
run: ./mvnw -B formatter:validate impsort:check javadoc:javadoc install --file pom.xml
run: GITHUB_ACTION_REPOSITORY=whatever GITHUB_ACTION_REF=whatever ./mvnw -B formatter:validate impsort:check javadoc:javadoc install --file pom.xml
# the GITHUB* properties are a workaround for Stork whose MicroProfileConfigProvider blows up when it sees an empty property

wildfly-tests:
runs-on: ubuntu-latest
Expand All @@ -58,8 +59,8 @@ jobs:
- name: checkout WildFly feature pack repository
uses: actions/checkout@v2
with:
repository: wildfly-extras/wildfly-graphql-feature-pack
ref: main
repository: jmartisk/wildfly-graphql-feature-pack
ref: srgql-2.16.0
path: wildfly-graphql-feature-pack

- uses: actions/setup-java@v5
Expand Down Expand Up @@ -97,8 +98,8 @@ jobs:
- name: checkout Quarkus repository
uses: actions/checkout@v2
with:
repository: quarkusio/quarkus
ref: main
repository: jmartisk/quarkus
ref: srgql-2.16.0
path: quarkus

- uses: actions/setup-java@v5
Expand Down
18 changes: 9 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@
<version.jandex>3.1.2</version.jandex>
<version.smallrye-config>3.5.2</version.smallrye-config>
<version.smallrye.metrics>4.0.0</version.smallrye.metrics>
<version.smallrye-common>2.1.0</version.smallrye-common>
<version.smallrye-mutiny>2.3.1</version.smallrye-mutiny>
<version.smallrye-mutiny-zero>1.0.0</version.smallrye-mutiny-zero>
<version.smallrye-common>2.13.9</version.smallrye-common>
<version.smallrye-mutiny>3.0.0</version.smallrye-mutiny>
<version.smallrye-mutiny-zero>1.1.1</version.smallrye-mutiny-zero>
<version.smallrye-context-propagation>2.1.0</version.smallrye-context-propagation>
<version.smallrye-stork>2.3.2</version.smallrye-stork>
<version.smallrye-stork>2.7.6</version.smallrye-stork>

<version.jakarta-json>2.1.2</version.jakarta-json>
<version.yasson>3.0.4</version.yasson>
<version.jakarta-validation>3.0.2</version.jakarta-validation>
<version.jakarta-annotation>2.1.1</version.jakarta-annotation>
<version.jakarta.servlet>6.0.0</version.jakarta.servlet>
<version.jakarta.websocket>2.0.0</version.jakarta.websocket>
<version.graphql-java-federation>4.4.0</version.graphql-java-federation>
<version.graphql-java>22.2</version.graphql-java>
<version.extended-scalars>21.0</version.extended-scalars>
<verison.io.micrometer>1.14.7</verison.io.micrometer>
<version.graphql-java-federation>5.4.0</version.graphql-java-federation>
<version.graphql-java>24.3</version.graphql-java>
<version.extended-scalars>24.0</version.extended-scalars>
<verison.io.micrometer>1.15.4</verison.io.micrometer>
<version.vertx>4.5.4</version.vertx>
<version.smallrye-opentelemetry>2.4.0</version.smallrye-opentelemetry>
<version.smallrye-opentelemetry>2.10.1</version.smallrye-opentelemetry>


<!-- Test -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,9 @@ private <KEY, VALUE> DataLoader<KEY, VALUE> getDataLoaderForOperation(Operation
if (operationUsesNoArguments(operation)) {
return DataLoaderFactory.newDataLoader(batchLoader);
}
DataLoaderOptions loaderOptions = new DataLoaderOptions();
loaderOptions.setCacheKeyFunction(this.getCacheKeyFunction());
DataLoaderOptions loaderOptions = DataLoaderOptions.newOptions()
.setCacheKeyFunction(this.getCacheKeyFunction())
.build();
return DataLoaderFactory.newDataLoader(batchLoader, loaderOptions);
}

Expand Down
13 changes: 12 additions & 1 deletion server/implementation/src/test/resources/schemaTest.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,23 @@ directive @argumentDirective on ARGUMENT_DEFINITION
"Indicates a Bean Validation constraint"
directive @constraint(format: String, max: BigInteger, maxFloat: BigDecimal, maxLength: Int, min: BigInteger, minFloat: BigDecimal, minLength: Int, pattern: String) repeatable on ARGUMENT_DEFINITION | INPUT_FIELD_DEFINITION

"This directive allows results to be deferred during execution"
directive @defer(
"Deferred behaviour is controlled by this argument"
if: Boolean! = true,
"A unique label that represents the fragment being deferred"
label: String
) on FRAGMENT_SPREAD | INLINE_FRAGMENT

"Marks the field, argument, input field or enum value as deprecated"
directive @deprecated(
"The reason for the deprecation"
reason: String = "No longer supported"
reason: String! = "No longer supported"
) on FIELD_DEFINITION | ARGUMENT_DEFINITION | ENUM_VALUE | INPUT_FIELD_DEFINITION

"This directive disables error propagation when a non nullable field returns null for the given operation."
directive @experimental_disableErrorPropagation on QUERY | MUTATION | SUBSCRIPTION

directive @fieldDirective on FIELD_DEFINITION

"Directs the executor to include this field or fragment only when the `if` argument is true"
Expand Down