graphql-java-annotations
graphql-java-annotations copied to clipboard
GraphQL Annotations for Java
Only direct implemented interfaces are supported when building a GraphQLObjectType. class MyObject implements MyInterface {} => OK class MyObject2 extends MyObject {} => No interface in ObjectType ClassUtils.getAllInterfaces(object) should be...
# Partial update to entities The purpose of this PR is to enable updation of selective entity fields. By introducing `Optional`, it also differentiates `null` from `undefined` Let's assume an...
Synk is reporting DoS vulnerability with `graphql-java` version `17.2` https://security.snyk.io/vuln/SNYK-JAVA-COMGRAPHQLJAVA-3021519. Please upgrade to `17.4`
Bump graphql-java from 17.2 to 17.4. This will fix graphql-java vulnerability issue reported by Synk [SNYK-JAVA-COMGRAPHQLJAVA-3021519](https://security.snyk.io/vuln/SNYK-JAVA-COMGRAPHQLJAVA-3021519)
We're expecting the release of 21.2.0 to happen within a month.
Once the upgrade has been done to graphql-java 21.5 (#300), we will be releasing a matching version for graphql-java-annotations. We're tentatively planning for this release to happen in June 2024
While working on: https://github.com/Enigmatis/graphql-java-annotations/issues/302 During the release, I started a publish action: https://github.com/Enigmatis/graphql-java-annotations/actions/runs/9745767091/job/26894508281 But it's failing due to: ``` Execution failed for task ':publishMavenPublicationToSonatypeRepository'. > Failed to publish publication 'maven'...
To avoid an issue ``` org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=cdp-graphql-feature; type=karaf.feature; version="[2.6.0.SNAPSHOT,2.6.0.SNAPSHOT]"; filter:="(&(osgi.identity=cdp-graphql-feature)(type=karaf.feature)(version>=2.6.0.SNAPSHOT)(version=21.5.0)(!(version>=22.0.0)))" [caused by: Unable to resolve graphql-java/21.5.0: missing requirement [graphql-java/21.5.0] osgi.wiring.package; filter:="(osgi.wiring.package=java.io)"]]] at...
In the example code below the parameter `version` is build into schema as `Int!` instead of `NonNegativeInt!` ``` public class Query { @GraphQLField @GraphQLDataFetcher(DocumentDataFetcher.class) public Document documentByNumber( @GraphQLNonNull @GraphQLName("number") String...
Adds support for binding to `java.util.Optional` parameters. Binding to Optional parameters allows implementing partial updates. With a partial update the mutate call can update only some of the Optional fields...