Open qcbuyertools opened 5 years ago
No concerns, PRs welcome
Sent from my iPhone
On Feb 21, 2019, at 1:36 AM, qcbuyertools notifications@github.com wrote:
This relates to #57 but is for a more specific use case.
We support type Message, any Scalar type, ImmutableList
, ListenableFuture<? extends Message>, and ListenableFuture<ImmutableList<? extend Message>>, and there is a TODO trying to support ImmutableList . Our system is trying to use ListnableFuture to improve our performance, and we want to wrap a String in a ListenableFuture, which means the method will have ListenableFuture
as the return type, which is currently not supported by the getReturnType. From looking at the code I believe adding ListenableFuture
should be relatively easy. Is there any concern of adding the support? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
This relates to https://github.com/google/rejoiner/issues/57 but is for a more specific use case.
From the comment: https://github.com/google/rejoiner/blob/68fa0f540afc75421418877eb42603aa8ca4e8ef/rejoiner/src/main/java/com/google/api/graphql/rejoiner/SchemaModule.java#L438-L442
We support type
Message
, anyScalar type
,ImmutableList<Message>
,ListenableFuture<? extends Message>
, andListenableFuture<ImmutableList<? extend Message>>
, and there is aTODO
trying to supportImmutableList<Scalar type>
.Our system is currently using a
String
return type for a@SchemaModification
, and is trying to useListnableFuture
to improve our performance, and we want to wrap aString
in aListenableFuture
, which means the method will haveListenableFuture<String>
as the return type, which is currently not supported by thegetReturnType
.From looking at the code I believe it's quite possible to add
ListenableFuture<Scalar type>
. Is there any concern of adding the support?