sangria-graphql/sangria

[Feature Request] flatMap over DeferredValue

オープン

#629 opened on 2021/05/03

 (0 件のコメント) (2 件のリアクション) (0 人の担当者)Scala (219 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (1,961 個のスター)
PR merge metrics
 (平均マージ 8d 15h) (30d で 4 merged PRs)

説明

Having map accessible on a DeferredValue is already very useful but I'd like to also have flatMap available so I can return another DeferredValue based on the result of the later and return it's subsequent value. I think there would be some overlap with the Relation-based mechanics but I think adding flatMap would add more ergonomics to dealing with DeferredValues.

コントリビューターガイド