Comments (3)
from graphql-kotlin.
Hello,
We have an example of how the hooks can be configured in a unit test. https://github.com/ExpediaDotCom/graphql-kotlin/blob/2b88d2d1793f3d0cdfcd8280483debe26d277ae2/src/test/kotlin/com/expedia/graphql/generator/SchemaGeneratorAsyncTests.kt#L19
I will update that wiki page though to provide more context.
You can check if the type is Mono or Flux in your own hook or you can convert to get the wrapped value. Does that answer your question?
from graphql-kotlin.
Updated the wiki: https://github.com/ExpediaDotCom/graphql-kotlin/wiki/Asynchronous-Models
from graphql-kotlin.
Related Issues (20)
- Ktor: Flow/Subscription websocket stops working (Ping Timeout)
- Why do I get this error when I start the application HOT 2
- No code generation occurs, no logs explaining why HOT 9
- feat: allow classes corresponding to SDL to be decoupled from implementation
- Unable to retrieve federated types with apollo federation v1 HOT 1
- Add plugin configuration option to allow generating test client files into testFixtures sources root
- @ShareableDirective causes schema generation error when applied to class used as both input and output
- FederatedSchemaValidator rejects nested union type field set HOT 1
- Union Annotations Do Not Play Well with @GraphQLDescription and @Deprecated
- FunctionDataFetcher: does not handle `Error` descendant `Throwables` in `runBlockingFunction` in conjunction with GraphQL Java `graphql/execution/ExecutionStrategy.java`
- 7.1.0 introduces Spring Boot Micrometer metrics errors HOT 4
- bug(federation): graphql-java v22 update breaks deprecation notices
- Spring Boot 3.3.0 breaks the code generator in version 7.xx HOT 3
- [maven plugin] Make serializer optional in client generation
- Support for persisted queries? HOT 1
- Allow creation of custom scalars from polymorphic types
- Unmanaged CoroutineScope in GraphQLServer HOT 2
- ktor-server: Which coroutine context should I use to start a coroutine HOT 1
- ktor-server: What coroutine context should be used? HOT 2
- Can not call `kotlinx.coroutines.future.await` on output from DataFetchingEnvironment::getValueFromDataLoader after updating to 7.1.x HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-kotlin.