You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
We support type Message, any Scalar type, ImmutableList<Message>, ListenableFuture<? extends Message>, and ListenableFuture<ImmutableList<? extend Message>>, and there is a TODO trying to support ImmutableList<Scalar type>.
Our system is currently using a String return type for a @SchemaModification, and 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<String> as the return type, which is currently not supported by the getReturnType.
From looking at the code I believe it's quite possible to add ListenableFuture<Scalar type>. Is there any concern of adding the support?
The text was updated successfully, but these errors were encountered:
On Feb 21, 2019, at 1:36 AM, qcbuyertools ***@***.***> wrote:
This relates to #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, any Scalar type, ImmutableList<Message>, ListenableFuture<? extends Message>, and ListenableFuture<ImmutableList<? extend Message>>, and there is a TODO trying to support ImmutableList<Scalar type>.
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<String> as the return type, which is currently not supported by the getReturnType.
From looking at the code I believe adding ListenableFuture<Scalar type> 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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This relates to #57 but is for a more specific use case.
From the comment:
rejoiner/rejoiner/src/main/java/com/google/api/graphql/rejoiner/SchemaModule.java
Lines 438 to 442 in 68fa0f5
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?The text was updated successfully, but these errors were encountered: