graphql-java
graphql-java copied to clipboard
GraphQL Java implementation
This PR adds Locale to the parsing code so we can create I18N parsing messages
We would like to support Locale when coer-ercing values or parsing document text. So we need that passed in. This has chosen to pass in a `GraphQLContext` and a `Locale`...
Now that we have i18n for validation errors, let's try one more language! Major health warning: my German level is abysmal and this PR was mostly written by Herr Google....
**Describe the bug** We have a GraphQL query that calls a DataLoader that should combine several items into a single batch. It appears to be combining all but the last...
The purpose of this draft PR is to add a Github actions workflow that will be executed every time there is a push to this repository or when manually triggering...
the documentation on [field visibility ](https://www.graphql-java.com/documentation/field-visibility) suggests users use ```java GraphQLSchema schema = GraphQLSchema.newSchema() .query(StarWarsSchema.queryType) .fieldVisibility(blockedFields) .build(); ``` which is deprecated I was able to get this working the the...
[Coercing.parseLiteral](https://github.com/graphql-java/graphql-java/blob/3139ccbb8a2313704518f39150223bda550d0500/src/main/java/graphql/schema/Coercing.java#L77) is declared to return a `@NonNull` value. However, a coercing may want to return `null` for the NullValue. See for example the [ObjectScalar](https://github.com/graphql-java/graphql-java-extended-scalars/blob/313b22114516b203342b7c7d5b7a0e1879cc2ad4/src/main/java/graphql/scalars/object/ObjectScalar.java#L69) implementation in https://github.com/graphql-java/graphql-java-extended-scalars
Fixes #2676 Does the following: 1. Updates GitHub Actions dependencies 2. Run tests on HotSpot, OpenJ9 VM, 3. Run tests on Ubuntu and Windows 4. Run tests on Java 8...
**Describe the bug** The `SchemaDiff$CountingReporter` reports a different `breakingCount` compared to the `CapturingReporter.getBreakageCount()`. I'm fairly certain its `breakingCount` field should be initialised with 0: https://github.com/graphql-java/graphql-java/blob/master/src/main/java/graphql/schema/diff/SchemaDiff.java#L73 **To Reproduce** Given the following...