Skip to content

Add ReactiveStreams and Kotlin Coroutines variants for DataLoader  #116

Description

@hantsy

Spring Graphql added an variant for the reactive/webflux implementations. I hope the upstream project can consider ReactiveStreams API(Publisher) and Kotlin Couroutines(suspend fun or Flow) as alternatives of the existing return type( Java 8 CompletionStage) of a BatchLoader or MappedBatchLoader.

Activity

  1. bbakerman commented on Jun 8, 2022

    @bbakerman
    Member

    We dont support it because it would bring in a an extra dependencies.

    However a CompletableFuture can be turned back into a Mono or Flow easily enough

  2. locked and limited conversation to collaborators on Jun 8, 2022
  3. converted this issue into a discussion #119 on Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions