Releases: ExpediaGroup/graphql-kotlin
Releases · ExpediaGroup/graphql-kotlin
0.2.9
Patch Changes
- Remove the dependency on object instances so the schema can be genera… (#198) @gscheibel
Non-version Changes
0.2.8
0.2.7
Patch Changes
- fix: non-functional clean up (#184) @smyrick
- fix: default directive annotation to all locations in the schema (#188) @brennantaylor
Non-version Changes
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
Major Changes
None
Minor Changes
- feat: pass DataFetcherEnvironment to arguments (#173)
Clients can now specify
DataFetchingEnvironment
as one of their arguments. It will not be generated as part of the schema but will be passed down on execution and gives access to all the context of the query, parent fields and their arguments, and anything else that is on thegraphql.schema.DataFetchingEnvironment
- feat: allow directives on other types (#174)
We are noticing that not all the directives are being added to the fields on our SDL using the
graphql-java
schema printer. This add support for:
- Enums
- Interfaces
- Unions
- Mutation objects
- Query objects
- Input objects
- Type objects
Patch Changes
- fix: remove directive duplication in the generator (#176)
Non-code Changes
0.2.1
Major Changes
None
Minor Changes
- feat: standardize casting of GraphQLType (#167)
- A new exception can be thrown
CouldNotCastGraphQLType
when there is an issue casting the GraphQL types for their builders. This isn't a common exception but helps us tag any issues that might possibly happen.
- A new exception can be thrown
Patch Changes
-
feat: move the default handling of CompletableFuture to code (#166)
- Clients will no longer have to include logic to handle
CompletableFutures
if they override the hookwillResolveMonad
- We now resolve monad types from the hook first, which defaults to the same type. Then we check after if it is one of the default supported wrapped types, which right now only includes
CompletableFuture
, but will extend toPublisher
when we support subscriptions.
- Clients will no longer have to include logic to handle
-
refactor: simplify the deep name logic (#165)
- Use the util function already in
graphql-java
instead of rolling our own
- Use the util function already in
-
Update library versions (#164)
- Upgrade various dependencies with no changes to features
0.2.0
Major Changes
- feat: update config settings for subscriptions (#160)
- To prepare for subscriptions, we moved the order of the parameters in
toSchema()
so thatconfig
is first. This will allow us to easily add subscriptions as the optional final parameter. Also since we will have another option for a top level name we combined all the names into a single object
- To prepare for subscriptions, we moved the order of the parameters in