Skip to content

Tags: L21s/graphql-kotlin

Tags

6.0.0-alpha.0

Toggle 6.0.0-alpha.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[generator] add IDValueUnboxer for correctly serializing ID value cla…

…ss (ExpediaGroup#1385)

Since `ID` is a value class, it may be represented at runtime as a wrapper or directly as underlying type. Due to the generic
nature of the query processing logic we *always* end up with up a wrapper type when resolving the field value. As a result,
in order to ensure that underlying scalar value is correctly serialized, we need to explicitly unwrap it by registering
`IDValueUnboxer` with your GraphQL instance.

```kotlin
// registering custom value unboxer
val graphQL = GraphQL.newGraphQL(graphQLSchema)
    .valueUnboxer(IDValueUnboxer())
    .build()
```

`IDValueUnboxer` is automatically registered by `graphql-kotlin-spring-server`.

5.3.2

Toggle 5.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[client] support @include and @Skip directives (ExpediaGroup#1341)

5.3.1

Toggle 5.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[generator] add runtime warning on deprecated context usage (ExpediaG…

…roup#1323)

### 📝 Description
This PR updates `FunctionDataFetcher` so that it logs a warning when injecting a `GraphQLContext`.  This functionality is [deprecated](https://github.com/ExpediaGroup/graphql-kotlin/blob/master/website/docs/schema-generator/execution/contextual-data.md#interface-injection-deprecated).  Unlike the `GraphQLContext` interface itself, which is annotated `@deprecated, there is no compile or runtime time warning when using `GraphQLContext` interface injection in a query or mutation.

### 🔗 Related Issues
* discussion: ExpediaGroup#1305
* supersedes: ExpediaGroup#1306

Co-authored-by: Joel Brown <[email protected]>

5.3.0

Toggle 5.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[dependencies] downgrade to graphql-java 17.2 (ExpediaGroup#1317)

5.2.0

Toggle 5.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Support creating the new context map (ExpediaGroup#1292)

* Support creating the new context map

* Fix subscription hooks

* Update docs and deprecation notice

* Use inline builder

* Update unit test docs

* Use default context map in subscriptions test

* Undo public arg name changes

5.1.1

Toggle 5.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Improve errors for unions (ExpediaGroup#1273)

5.1.0

Toggle 5.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Dependency update (ExpediaGroup#1264)

* Dependency update

* Jackson matching spring version

* Update gradle.properties

* Update manual kotlin versions

* Update other hardcoded versions

5.0.0

Toggle 5.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Test scalar converters with Ulocale (ExpediaGroup#1259)

* Test scalar converters with Ulocale

* Update wiremock schema

* Add fields to types

5.0.0-alpha.4

Toggle 5.0.0-alpha.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[build] dependency updates (ExpediaGroup#1253)

* [build] dependency updates

Updates to the latest version of the libs.

This change does not include Kotlin update to 1.5.30 due to following issues:
* Gradle Kotlin compile task presents a warning that Java compile task (we don't have any Java sources) uses different JVM target (Java version defaults to your local JVM default)
* Above warning can be fixed by explicitly configuring Java tasks (again we don't have any Java sources) to use Java 8 target OR through toolchain configuration - at least it should be, when using toolchain configuration `kapt` blows up with unable to find the toolchain JVM
* Android test project used as an integration test for Gradle plugin blows up with `Cannot have abstract method KotlinJavaToolchain.getJdk()`

* fix unit tests
`OptionalInput` is now supported for both kotlinx-serialization and Jackson. Updating test to account for this.

4.2.0

Toggle 4.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Backport GraphQLUnion to 4.x.x (ExpediaGroup#1234)