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
When using @defer, a response will have multiple parts. However, AutoPersistedQueryInterceptor uses var response = chain.proceed(request).single(), which will lead to an immediate IllegalArgumentException, because: Flow has more than one element.
Steps to reproduce the behavior
Enable the AutoPersistedQueryInterceptor and use any operation that has @defer. The failure should reproduce even if you use client.query().toFlow().
Logs
No response
The text was updated successfully, but these errors were encountered:
Version
4.0.0-beta.4
Summary
When using
@defer
, aresponse
will have multiple parts. However,AutoPersistedQueryInterceptor
usesvar response = chain.proceed(request).single()
, which will lead to an immediateIllegalArgumentException
, because:Flow has more than one element
.Steps to reproduce the behavior
Enable the
AutoPersistedQueryInterceptor
and use any operation that has@defer
. The failure should reproduce even if you useclient.query().toFlow()
.Logs
No response
The text was updated successfully, but these errors were encountered: