question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[javalin-graphql] improve integration with graphql-kotlin

See original GitHub issue

Describe the feature Improve javalin-graphql plugin integration with graphql-kotlin to provide first class support for creating GraphQL servers in Javalin.

Additional context Some potential areas of improvement:

  • update to use latest released version of graphql-kotlin
  • improve documentation (reference https://expediagroup.github.io/graphql-kotlin/docs/writing-schemas/basics)
  • support schema generator hooks to allow customization of schema generation
  • support Apollo Federation
  • generate GraphQL context in a web filter based on the incoming request
  • support graphql-ws protocol for subscriptions
  • support asynchronous query execution
  • additional configuration options to match existing Spring integration (e.g. ability to disable instrumentation)
  • optional cleanup -> rename graphqli to graphiql

We probably could create a new common graphql-kotlin-server-core package that could contain common functionality for different application frameworks (e.g. query handler, subscription handler, context factory etc).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
7agustibmcommented, Jul 2, 2021

I update it shortly

1reaction
dariuszkuccommented, Jul 1, 2021

Yes with graphql-kotlin 4.x release we abstracted away common stuff in generic graphql-kotlin-server package.

More info: https://opensource.expediagroup.com/graphql-kotlin/docs/server/graphql-server

Read more comments on GitHub >

github_iconTop Results From Across the Web

[javalin-graphql] improve integration with graphql-kotlin #1000
Describe the feature Improve javalin-graphql plugin integration with graphql-kotlin to provide first class support for creating GraphQL ...
Read more >
Introduction to Apollo Kotlin - Apollo GraphQL Docs
A strongly-typed, caching GraphQL client for Java and Kotlin multiplatform. Apollo Kotlin 3 is generally available. If you're using Apollo Android 2.x, see ......
Read more >
GraphQL Frameworks Comparison | GraphQL Kotlin
While both libraries do very similar things, there are some minor differences which may serve different usecases better. As with open source library,...
Read more >
Building GraphQL APIs with Kotlin, Spring Boot, and MongoDB
Learn how to build modern GraphQL APIs with Kotlin, the flexible programming language that can run on JVMs.
Read more >
Building a GraphQL Server with Kotlin and graphql-java
Building APIs in Java is not exciting. That changes if you throw GraphQL and Kotlin into the mix. The great library (thanks Andy)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found